From 26793653a19cf09484183530613a19a6aca3a7bb Mon Sep 17 00:00:00 2001 From: remi Date: Thu, 17 Nov 2016 21:43:08 +0100 Subject: [PATCH] Removed an unused method in MediaScannerServiceTestCase. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RĂ©mi Cocula --- .../service/MediaScannerServiceTestCase.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/libresonic-main/src/test/java/org/libresonic/player/service/MediaScannerServiceTestCase.java b/libresonic-main/src/test/java/org/libresonic/player/service/MediaScannerServiceTestCase.java index c9a6a226..f06dce87 100644 --- a/libresonic-main/src/test/java/org/libresonic/player/service/MediaScannerServiceTestCase.java +++ b/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(); - } - - - }