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

do-not-reply at jboss.org do-not-reply at jboss.org
Fri May 13 12:21:22 EDT 2011


Author: clebert.suconic at jboss.com
Date: 2011-05-13 12:21:21 -0400 (Fri, 13 May 2011)
New Revision: 10662

Modified:
   branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java
Log:
fixing tests

Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java
===================================================================
--- branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java	2011-05-13 14:00:28 UTC (rev 10661)
+++ branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/QueueImpl.java	2011-05-13 16:21:21 UTC (rev 10662)
@@ -413,7 +413,7 @@
 
    public Executor getExecutor()
    {
-      if (pageSubscription.isPaging())
+      if (pageSubscription != null && pageSubscription.isPaging())
       {
          // When in page mode, we don't want to have concurrent IO on the same PageStore
          return pageSubscription.getExecutor();



More information about the hornetq-commits mailing list