|
@@ -17,7 +17,7 @@ import net.bytebuddy.agent.builder.AgentBuilder;
|
|
|
public final class AgentTooling {
|
|
|
|
|
|
private static final AgentLocationStrategy LOCATION_STRATEGY =
|
|
|
- locationStrategy(getBootstrapProxy());
|
|
|
+ new AgentLocationStrategy(getBootstrapProxy());
|
|
|
|
|
|
private static final AgentBuilder.PoolStrategy POOL_STRATEGY =
|
|
|
new AgentCachingPoolStrategy(LOCATION_STRATEGY);
|
|
@@ -26,10 +26,6 @@ public final class AgentTooling {
|
|
|
return LOCATION_STRATEGY;
|
|
|
}
|
|
|
|
|
|
- public static AgentLocationStrategy locationStrategy(ClassLoader bootstrapProxy) {
|
|
|
- return new AgentLocationStrategy(bootstrapProxy);
|
|
|
- }
|
|
|
-
|
|
|
public static AgentBuilder.PoolStrategy poolStrategy() {
|
|
|
return POOL_STRATEGY;
|
|
|
}
|