ARTEMIS-282 - remove unneeded check on file lock creation
https://issues.apache.org/jira/browse/ARTEMIS-282
This commit is contained in:
parent
290cb65b17
commit
dd402f4f91
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue