Skip to content

Commit b5867b2

Browse files
committed
Comment fixes
1 parent cbdb726 commit b5867b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/instrumentation/indy/IndyModuleRegistry.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void register(InstrumentationModule module) {
4848
if (modulesClassloader != null) {
4949
InstrumentationModuleClassLoader modulesCl = modulesClassloader.get();
5050
if (modulesCl != null) {
51-
// Classloader has already been created, at the module to it
51+
// Classloader has already been created, add the module to it
5252
modulesCl.installModule(module);
5353
}
5454
}
@@ -187,7 +187,6 @@ public static AgentBuilder.Identified.Extendable registerModuleOnMatch(
187187
}
188188
return agentBuilder.transform(
189189
(builder, typeDescription, classLoader, javaModule, protectionDomain) -> {
190-
// this causes the classloader to be created and kept alive when the first class matches
191190
registerModuleForClassloader(module, classLoader);
192191
return builder;
193192
});

0 commit comments

Comments
 (0)