activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1188145 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Date Mon, 24 Oct 2011 13:37:31 GMT
Author: tabish
Date: Mon Oct 24 13:37:31 2011
New Revision: 1188145

URL: http://svn.apache.org/viewvc?rev=1188145&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3559

Fix for failing unit test.

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java?rev=1188145&r1=1188144&r2=1188145&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Mon Oct 24 13:37:31 2011
@@ -855,7 +855,7 @@ public abstract class MessageDatabase ex
                 }
             }
 
-            if (checkpointThread == null || !checkpointThread.isAlive()) {
+            if (checkpointThread != null && !checkpointThread.isAlive()) {
                 startCheckpoint();
             }
             return location;



Mime
View raw message