activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1443580 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/store/DelayingStoreSupport.scala
Date Thu, 07 Feb 2013 15:57:30 GMT
Author: chirino
Date: Thu Feb  7 15:57:30 2013
New Revision: 1443580

URL: http://svn.apache.org/viewvc?rev=1443580&view=rev
Log:
Fixing invalid list empty check.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/store/DelayingStoreSupport.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/store/DelayingStoreSupport.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/store/DelayingStoreSupport.scala?rev=1443580&r1=1443579&r2=1443580&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/store/DelayingStoreSupport.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/store/DelayingStoreSupport.scala
Thu Feb  7 15:57:30 2013
@@ -410,7 +410,7 @@ trait DelayingStoreSupport extends Store
 
                   if( prev_uow.state.stage >= UowDelayed.stage ) {
                     // if the message is not in any queues.. we can gc it..
-                    if( prev_action.enqueues == Nil && prev_action.message_record
!=null ) {
+                    if( prev_action.enqueues.isEmpty && prev_action.message_record
!=null ) {
                       pending_stores.remove(msg)
                       prev_action.message_record = null
                       prev_uow.delayable_actions -= 1



Mime
View raw message