Removed redundant call to checkEnabled() - it's called from start().

This commit is contained in:
akwizgran
2014-02-07 15:05:48 +00:00
parent 5c78b4808d
commit 6296f0f790

View File

@@ -82,10 +82,8 @@ public class UnixRemovableDriveMonitorTest extends BriarTestCase {
TestUtils.deleteTestDirectory(testDir);
}
private RemovableDriveMonitor createMonitor(final File dir) throws IOException {
UnixRemovableDriveMonitor.checkEnabled();
private RemovableDriveMonitor createMonitor(final File dir) {
return new UnixRemovableDriveMonitor() {
@Override
protected String[] getPathsToWatch() {
return new String[] { dir.getPath() };
}