Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for clear method: now deletes files
orbiterfa07234d4e6e
diff --git a/source/de/anomic/kelondro/blob/BLOBArray.java b/source/de/anomic/kelondro/blob/BLOBArray.javaindex 06ec6589f..4eb433d6f 100755--- a/source/de/anomic/kelondro/blob/BLOBArray.java+++ b/source/de/anomic/kelondro/blob/BLOBArray.java@@ -300,7 +300,11 @@ public class BLOBArray implements BLOB {* @throws IOException*/public synchronized void clear() throws IOException {- for (blobItem bi: blobs) bi.blob.clear();+ for (blobItem bi: blobs) {+ bi.blob.clear();+ bi.blob.close(false);+ bi.location.delete();+ }blobs.clear();}