From dd402f4f9171d92594ed7b1f2f0bbd2ad8d5bbeb Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Tue, 27 Oct 2015 08:13:24 +0000 Subject: [PATCH] ARTEMIS-282 - remove unneeded check on file lock creation https://issues.apache.org/jira/browse/ARTEMIS-282 --- .../org/apache/activemq/artemis/core/server/NodeManager.java | 3 --- 1 file changed, 3 deletions(-) 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 9d54b928c5..73613bdf7d 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")