diff --git a/dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/sink/ProbeStatusSink.java b/dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/sink/ProbeStatusSink.java index d91bf77e4ca7..6870ef118255 100644 --- a/dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/sink/ProbeStatusSink.java +++ b/dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/sink/ProbeStatusSink.java @@ -51,7 +51,7 @@ public ProbeStatusSink(Config config, String diagnosticsEndpoint, boolean useMul this(config, new BatchUploader(config, diagnosticsEndpoint, RETRY_POLICY), useMultiPart); } - public ProbeStatusSink(Config config, BatchUploader diagnosticUploader, boolean useMultiPart) { + ProbeStatusSink(Config config, BatchUploader diagnosticUploader, boolean useMultiPart) { this.diagnosticUploader = diagnosticUploader; this.useMultiPart = useMultiPart; this.messageBuilder = new Builder(config); diff --git a/dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/agent/CapturingTestBase.java b/dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/agent/CapturingTestBase.java index b6e426b43207..a7767b3fa3df 100644 --- a/dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/agent/CapturingTestBase.java +++ b/dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/agent/CapturingTestBase.java @@ -352,14 +352,6 @@ protected TestSnapshotListener installProbes(Configuration configuration) { setFieldInConfig(config, "debuggerClassFileDumpEnabled", true); setFieldInConfig(config, "debuggerVerifyByteCode", false); setFieldInConfig(config, "debuggerCodeOriginMaxUserFrames", 20); - // when(config.isDebuggerEnabled()).thenReturn(true); - // when(config.isDebuggerClassFileDumpEnabled()).thenReturn(true); - // when(config.isDebuggerVerifyByteCode()).thenReturn(false); - // when(config.getFinalDebuggerSnapshotUrl()) - // .thenReturn("http://localhost:8126/debugger/v1/input"); - // - // when(config.getFinalDebuggerSymDBUrl()).thenReturn("http://localhost:8126/symdb/v1/input"); - // when(config.getDebuggerCodeOriginMaxUserFrames()).thenReturn(20); instrumentationListener = new MockInstrumentationListener(); probeStatusSink = mock(ProbeStatusSink.class);