ARTEMIS-282 - remove unneeded check on file lock creation

https://issues.apache.org/jira/browse/ARTEMIS-282
This commit is contained in:
Andy Taylor 2015-10-27 08:13:24 +00:00
parent 290cb65b17
commit dd402f4f91
1 changed files with 0 additions and 3 deletions

View File

@ -174,9 +174,6 @@ public abstract class NodeManager implements ActiveMQComponent {
ActiveMQServerLogger.LOGGER.nodeManagerCantOpenFile(e, serverLockFile); ActiveMQServerLogger.LOGGER.nodeManagerCantOpenFile(e, serverLockFile);
throw e; throw e;
} }
if (!fileCreated) {
throw new IllegalStateException("Unable to create server lock file");
}
} }
@SuppressWarnings("resource") @SuppressWarnings("resource")