Removed an unused method in MediaScannerServiceTestCase.
Signed-off-by: Rémi Cocula <rcocula@gmail.com>
This commit is contained in:
-19
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user