activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [2/2] activemq git commit: ignore errors on dir cleanup
Date Wed, 07 Jan 2015 17:11:44 GMT
ignore errors on dir cleanup


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/f1df9f8b
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/f1df9f8b
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/f1df9f8b

Branch: refs/heads/trunk
Commit: f1df9f8b82a27b42fe1def368def335d6286b60e
Parents: c5cebd5
Author: gtully <gary.tully@gmail.com>
Authored: Wed Jan 7 17:06:12 2015 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Wed Jan 7 17:11:09 2015 +0000

----------------------------------------------------------------------
 .../org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/f1df9f8b/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
----------------------------------------------------------------------
diff --git a/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
b/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
index 645da02..9e13a24 100644
--- a/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
+++ b/activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/MasterLevelDBStoreTest.java
@@ -95,7 +95,7 @@ public class MasterLevelDBStoreTest {
     public void stop() throws Exception {
         if (store.isStarted()) {
             store.stop();
-            FileUtils.deleteDirectory(store.directory());
+            FileUtils.deleteQuietly(store.directory());
         }
     }
 }


Mime
View raw message