[hornetq-commits] JBoss hornetq SVN: r11908 - trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Dec 13 21:50:52 EST 2011
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);
More information about the hornetq-commits
mailing list