[jboss-cvs] JBoss Messaging SVN: r3582 - trunk/src/main/org/jboss/messaging/core/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 17 07:00:22 EST 2008


Author: timfox
Date: 2008-01-17 07:00:21 -0500 (Thu, 17 Jan 2008)
New Revision: 3582

Modified:
   trunk/src/main/org/jboss/messaging/core/impl/QueueImpl.java
Log:
Minor tweak


Modified: trunk/src/main/org/jboss/messaging/core/impl/QueueImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/impl/QueueImpl.java	2008-01-17 11:53:53 UTC (rev 3581)
+++ trunk/src/main/org/jboss/messaging/core/impl/QueueImpl.java	2008-01-17 12:00:21 UTC (rev 3582)
@@ -191,13 +191,13 @@
          
          if (reference == null)
          {
-            if (messageReferences.isEmpty())
+            if (iterator == null)
             {
                //We delivered all the messages - go into direct delivery
                direct = true;
                
                promptDelivery = false;
-            }
+            } 
             return;
          }
          




More information about the jboss-cvs-commits mailing list