Author: gaohoward
Date: 2011-12-13 21:50:52 -0500 (Tue, 13 Dec 2011)
New Revision: 11908
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
remove unreachable code.
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-12-13
19:32:09 UTC (rev 11907)
+++
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-12-14
02:50:52 UTC (rev 11908)
@@ -336,7 +336,7 @@
{
if (started)
{
- log.debug("Server already started!");
+ log.info("Server already started! Ignoring the call to start.");
return;
}
@@ -355,12 +355,6 @@
nodeManager.start();
- if (started)
- {
- HornetQServerImpl.log.info((configuration.isBackup() ? "backup" :
"live") + " is already started, ignoring the call to start..");
- return;
- }
-
HornetQServerImpl.log.info((configuration.isBackup() ? "backup" :
"live") + " server is starting with configuration " +
configuration);
Show replies by date