[hornetq-commits] JBoss hornetq SVN: r10194 - branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Feb 9 20:02:38 EST 2011


Author: clebert.suconic at jboss.com
Date: 2011-02-09 20:02:38 -0500 (Wed, 09 Feb 2011)
New Revision: 10194

Modified:
   branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
Log:
tweak to fix tests

Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
===================================================================
--- branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java	2011-02-09 15:34:49 UTC (rev 10193)
+++ branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java	2011-02-10 01:02:38 UTC (rev 10194)
@@ -215,7 +215,10 @@
    public void pauseLiveServer() throws Exception
    {
       setPaused();
-      liveLock.release();
+      if (liveLock != null)
+      {
+         liveLock.release();
+      }
    }
 
    public void crashLiveServer() throws Exception



More information about the hornetq-commits mailing list