Skip to content

Commit a416134

Browse files
SylvainJugelaurit
andauthored
Apply suggestions from code review
Co-authored-by: Lauri Tulmin <[email protected]>
1 parent c50fcb3 commit a416134

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

instrumentation/async-http-client/async-http-client-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/asynchttpclient/v2_0/AsyncHttpClientInstrumentation.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public static class ExecuteRequestAdvice {
4848
@Advice.OnMethodEnter(suppress = Throwable.class)
4949
public static Scope onEnter(
5050
@Advice.Argument(0) Request request, @Advice.Argument(1) AsyncHandler<?> handler) {
51-
5251
Context parentContext = currentContext();
5352
RequestContext requestContext = new RequestContext(parentContext, request);
5453
if (!instrumenter().shouldStart(parentContext, requestContext)) {

instrumentation/google-http-client-1.19/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/googlehttpclient/GoogleHttpRequestInstrumentation.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public AdviceScope(Context context, Scope scope, HttpRequest request) {
6666

6767
@Nullable
6868
public static AdviceScope start(HttpRequest request) {
69-
7069
Context parentContext = currentContext();
7170
if (!instrumenter().shouldStart(parentContext, request)) {
7271
return null;

0 commit comments

Comments
 (0)