Fix 3 minor javadoc issues. (#225)
This commit is contained in:
parent
5c4dc47710
commit
f30f5f0779
|
@ -36,7 +36,7 @@ import net.bytebuddy.description.method.MethodDescription;
|
||||||
import net.bytebuddy.description.type.TypeDescription;
|
import net.bytebuddy.description.type.TypeDescription;
|
||||||
import net.bytebuddy.matcher.ElementMatcher;
|
import net.bytebuddy.matcher.ElementMatcher;
|
||||||
|
|
||||||
/** Instrument {@link Runnable} and {@Callable} */
|
/** Instrument {@link Runnable} and {@link Callable} */
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@AutoService(Instrumenter.class)
|
@AutoService(Instrumenter.class)
|
||||||
public final class RunnableCallableInstrumentation extends Instrumenter.Default {
|
public final class RunnableCallableInstrumentation extends Instrumenter.Default {
|
||||||
|
|
|
@ -71,7 +71,7 @@ public class JDBCDecorator extends DatabaseClientDecorator<DBInfo> {
|
||||||
|
|
||||||
public Span onConnection(final Span span, final Connection connection) {
|
public Span onConnection(final Span span, final Connection connection) {
|
||||||
DBInfo dbInfo = JDBCMaps.connectionInfo.get(connection);
|
DBInfo dbInfo = JDBCMaps.connectionInfo.get(connection);
|
||||||
/**
|
/*
|
||||||
* Logic to get the DBInfo from a JDBC Connection, if the connection was not created via
|
* Logic to get the DBInfo from a JDBC Connection, if the connection was not created via
|
||||||
* Driver.connect, or it has never seen before, the connectionInfo map will return null and will
|
* Driver.connect, or it has never seen before, the connectionInfo map will return null and will
|
||||||
* attempt to extract DBInfo from the connection. If the DBInfo can't be extracted, then the
|
* attempt to extract DBInfo from the connection. If the DBInfo can't be extracted, then the
|
||||||
|
|
|
@ -77,7 +77,7 @@ public class ContextPropagator {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @returns true when no error happened during call */
|
/** @return true when no error happened during call */
|
||||||
private boolean syntheticCall(
|
private boolean syntheticCall(
|
||||||
final Connection c, final ContextPayload payload, final int operationId) {
|
final Connection c, final ContextPayload payload, final int operationId) {
|
||||||
final StreamRemoteCall shareContextCall = new StreamRemoteCall(c);
|
final StreamRemoteCall shareContextCall = new StreamRemoteCall(c);
|
||||||
|
|
Loading…
Reference in New Issue