small change

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1278 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 19 years ago
parent c652527620
commit 4f18f24d81

@ -154,9 +154,8 @@ public final class plasmaHTCache {
private void deleteOldCache(File directory) {
String[] list = directory.list();
int size = list.length - 1;
File object;
for (int i = size; i >= 0 ; i--) {
for (int i = list.length - 1; i >= 0 ; i--) {
object = new File(directory, list[i]);
if (object.isFile()) {
object.delete();

Loading…
Cancel
Save