Removed an unused method in MediaScannerServiceTestCase.

Signed-off-by: Rémi Cocula <rcocula@gmail.com>
master
remi 8 years ago committed by Rémi Cocula
parent 05518019b5
commit 26793653a1
  1. 19
      libresonic-main/src/test/java/org/libresonic/player/service/MediaScannerServiceTestCase.java

@ -121,23 +121,4 @@ public class MediaScannerServiceTestCase extends TestCase {
System.out.print("End");
}
/**
* Starts a Metrics Console and JMX reporter.
*/
private void startMetricsReport() {
// Reporter console
ConsoleReporter reporter = ConsoleReporter.forRegistry(metrics)
.convertRatesTo(TimeUnit.SECONDS.SECONDS)
.convertDurationsTo(TimeUnit.MILLISECONDS)
.build();
reporter.start(10, TimeUnit.SECONDS);
// Jmx reporter
final JmxReporter jmxReporter = JmxReporter.forRegistry(metrics).build();
jmxReporter.start();
}
}

Loading…
Cancel
Save