From 6296f0f7904b030a87f966b6ef0134e38afa3807 Mon Sep 17 00:00:00 2001
From: akwizgran <akwizgran@users.sourceforge.net>
Date: Fri, 7 Feb 2014 15:05:48 +0000
Subject: [PATCH] Removed redundant call to checkEnabled() - it's called from
 start().

---
 .../plugins/file/UnixRemovableDriveMonitorTest.java           | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java b/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java
index 427afe364c..26116ef0bc 100644
--- a/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java
+++ b/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java
@@ -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() };
 			}
-- 
GitLab