Skip to content

Commit 190c303

Browse files
committed
remove unused variable
1 parent cf6d7b7 commit 190c303

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

instrumentation/jmx-metrics/javaagent/src/test/java/io/opentelemetry/instrumentation/javaagent/jmx/JmxMetricInsightInstallerTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ void testToVerifyExistingRulesAreValid() throws Exception {
4040
Path filePath = path.resolve(file);
4141
assertThat(filePath).isRegularFile();
4242

43-
String target = file.substring(0, file.indexOf("."));
4443
// loading rules from direct file access
4544
JmxTelemetry.builder(OpenTelemetry.noop()).addCustomRules(filePath);
4645
}

0 commit comments

Comments
 (0)