Fix for failing unit test.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1188145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2011-10-24 13:37:31 +00:00
parent e7784672ac
commit 534a44fbd6
1 changed files with 1 additions and 1 deletions

View File

@ -855,7 +855,7 @@ public abstract class MessageDatabase extends ServiceSupport implements BrokerSe
}
}
if (checkpointThread == null || !checkpointThread.isAlive()) {
if (checkpointThread != null && !checkpointThread.isAlive()) {
startCheckpoint();
}
return location;