mirror of https://github.com/apache/activemq.git
remove System.err.println()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@676893 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4de4bc65f8
commit
8ee94b802c
|
@ -429,13 +429,11 @@ public class AsyncDataManager {
|
||||||
List<DataFile> purgeList = new ArrayList<DataFile>();
|
List<DataFile> purgeList = new ArrayList<DataFile>();
|
||||||
for (Integer key : unUsed) {
|
for (Integer key : unUsed) {
|
||||||
// Only add files less than the lastFile..
|
// Only add files less than the lastFile..
|
||||||
System.err.println("LAST FILE IS: " + lastFile);
|
|
||||||
if( key.intValue() < lastFile.intValue() ) {
|
if( key.intValue() < lastFile.intValue() ) {
|
||||||
DataFile dataFile = (DataFile)fileMap.get(key);
|
DataFile dataFile = (DataFile)fileMap.get(key);
|
||||||
purgeList.add(dataFile);
|
purgeList.add(dataFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.err.println("PURGE LIST IS: " + purgeList);
|
|
||||||
for (DataFile dataFile : purgeList) {
|
for (DataFile dataFile : purgeList) {
|
||||||
forceRemoveDataFile(dataFile);
|
forceRemoveDataFile(dataFile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue