Skip to content

Commit 717af3e

Browse files
committed
fix(pmd): correct pmd failure
1 parent 1c0c8e2 commit 717af3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/src/main/java/com/intergral/deep/agent/DeepAgent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public String getVersion() {
7474

7575
public IPluginRegistration registerPlugin(final IPlugin plugin) {
7676
this.settings.addPlugin(plugin);
77-
return () -> DeepAgent.this.settings.removePlugin(plugin);
77+
return () -> this.settings.removePlugin(plugin);
7878
}
7979

8080
@Override
@@ -86,6 +86,6 @@ public ITracepointRegistration registerTracepoint(final String path, final int l
8686
public ITracepointRegistration registerTracepoint(final String path, final int line, final Map<String, String> args,
8787
final Collection<String> watches) {
8888
final TracePointConfig tracePointConfig = this.tracepointConfig.addCustom(path, line, args, watches);
89-
return () -> DeepAgent.this.tracepointConfig.removeCustom(tracePointConfig);
89+
return () -> this.tracepointConfig.removeCustom(tracePointConfig);
9090
}
9191
}

0 commit comments

Comments
 (0)