fix AMQ-1962, reset or cursor as a result of empty subscription list was incorrectly setting store size to 0

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@701072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-10-02 10:46:15 +00:00
parent 8469d75f38
commit 6dbd5d19cc
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ public abstract class AbstractStoreCursor extends AbstractPendingMessageCursor i
batchList.clear();
batchResetNeeded = true;
this.cacheEnabled=false;
size=0;
size = getStoreSize();
}
protected final synchronized void fillBatch() {