activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1038551 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
Date Wed, 24 Nov 2010 11:30:50 GMT
Author: gtully
Date: Wed Nov 24 11:30:49 2010
New Revision: 1038551

URL: http://svn.apache.org/viewvc?rev=1038551&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2985 - fix regression of DurableSubscriptionUnsubscribeTest,
check for empty topic

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java?rev=1038551&r1=1038550&r2=1038551&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
Wed Nov 24 11:30:49 2010
@@ -892,7 +892,7 @@ public class KahaDBStore extends Message
                         ActiveMQDestination dest = convert(entry.getKey());
                         if (dest.isTopic()) {
                             StoredDestination loadedStore = getStoredDestination(convert(dest),
tx);
-                            if (loadedStore.ackPositions.isEmpty(tx)) {
+                            if (loadedStore.subscriptionAcks.isEmpty(tx)) {
                                 isEmptyTopic = true;
                             }
                         }



Mime
View raw message