Remove unused method argument (#4608)

This commit is contained in:
Lauri Tulmin 2021-11-08 21:58:12 +02:00 committed by GitHub
parent 38c2efe53e
commit 300a982ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -14,7 +14,6 @@ import io.opentelemetry.context.Context;
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
import io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer;
import io.opentelemetry.javaagent.instrumentation.api.Java8BytecodeBridge;
import java.lang.reflect.Method;
import net.bytebuddy.asm.Advice;
import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.matcher.ElementMatcher;
@ -49,9 +48,7 @@ public class HttpCodecFilterInstrumentation implements TypeInstrumentation {
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
public static void onExit(
@Advice.Origin Method method,
@Advice.Argument(0) FilterChainContext ctx,
@Advice.Argument(1) Object httpHeader) {
@Advice.Argument(0) FilterChainContext ctx, @Advice.Argument(1) Object httpHeader) {
Context parentContext = GrizzlyStateStorage.getContext(ctx);
if (parentContext == null) {