mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Removed redundant call to checkEnabled() - it's called from start().
This commit is contained in:
@@ -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() };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user