git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-05-15 10:50:35 +00:00
parent 15709c5673
commit a4b7157513
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ public class AMQPersistenceAdapter implements PersistenceAdapter, UsageListener,
}
Integer lastDataFile = asyncDataManager.getCurrentDataFileId();
inProgress.add(lastDataFile);
Set<Integer> inUse = referenceStoreAdapter.getReferenceFileIdsInUse();
Set<Integer> inUse = new HashSet<Integer>(referenceStoreAdapter.getReferenceFileIdsInUse());
asyncDataManager.consolidateDataFilesNotIn(inUse, inProgress);
} catch (IOException e) {
LOG.error("Could not cleanup data files: " + e, e);