Menu

#2 clear() does not delete queue files

open
nobody
None
5
2009-06-13
2009-06-13
Anonymous
No

After running a queue file a while there a a lot of queue files in filesystem. Debugging shows that clear() doesn't find them because of an error in the filter class.

public boolean accept(final File dir, final String name) {

return name.toLowerCase().startsWith(base);
}

Needed to be

return name.toLowerCase().startsWith(base.toLowerCase());

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.