From 56a3bce7ef5dda6a1fe70de6a1352f69022a6cac Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Wed, 10 Aug 2022 18:50:37 +0300 Subject: [PATCH] Correct method name in comment (#6455) --- .../tooling/muzzle/ReferenceCollectingClassVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muzzle/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/ReferenceCollectingClassVisitor.java b/muzzle/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/ReferenceCollectingClassVisitor.java index 7efea70e16e4..f72d2b6f3bac 100644 --- a/muzzle/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/ReferenceCollectingClassVisitor.java +++ b/muzzle/src/main/java/io/opentelemetry/javaagent/tooling/muzzle/ReferenceCollectingClassVisitor.java @@ -545,7 +545,7 @@ public void visitMethodInsn( Type methodType = Type.getMethodType(descriptor); Type ownerType = Type.getType("L" + owner + ";"); - // remember used context classes if this is an VirtualField.get() call + // remember used context classes if this is an VirtualField.find() call if ("io.opentelemetry.instrumentation.api.util.VirtualField".equals(ownerType.getClassName()) && "find".equals(name) && methodType.getDescriptor().equals(getVirtualFieldDescriptor)) {