activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/3] activemq-artemis git commit: ARTEMIS-282 - remove unneeded check on file lock creation
Date Tue, 27 Oct 2015 14:03:44 GMT
ARTEMIS-282 - remove unneeded check on file lock creation

https://issues.apache.org/jira/browse/ARTEMIS-282


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

Branch: refs/heads/master
Commit: dd402f4f9171d92594ed7b1f2f0bbd2ad8d5bbeb
Parents: 290cb65
Author: Andy Taylor <andy.tayls67@gmail.com>
Authored: Tue Oct 27 08:13:24 2015 +0000
Committer: Andy Taylor <andy.tayls67@gmail.com>
Committed: Tue Oct 27 10:10:57 2015 +0000

----------------------------------------------------------------------
 .../java/org/apache/activemq/artemis/core/server/NodeManager.java | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/dd402f4f/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java
index 9d54b92..73613bd 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/NodeManager.java
@@ -174,9 +174,6 @@ public abstract class NodeManager implements ActiveMQComponent {
             ActiveMQServerLogger.LOGGER.nodeManagerCantOpenFile(e, serverLockFile);
             throw e;
          }
-         if (!fileCreated) {
-            throw new IllegalStateException("Unable to create server lock file");
-         }
       }
 
       @SuppressWarnings("resource")


Mime
View raw message