Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
bugfix for tryRemoveURLs
orbiterd374ef2bbeee
diff --git a/source/de/anomic/index/indexRAMCacheRI.java b/source/de/anomic/index/indexRAMCacheRI.javaindex 15c3add06..ee720b7bb 100644--- a/source/de/anomic/index/indexRAMCacheRI.java+++ b/source/de/anomic/index/indexRAMCacheRI.java@@ -381,11 +381,11 @@ public final class indexRAMCacheRI extends indexAbstractRI implements indexRI {synchronized (cache) {Iterator i = cache.entrySet().iterator();Map.Entry entry;- Long l;+ String wordhash;indexContainer c;while (i.hasNext()) {entry = (Map.Entry) i.next();- l = (Long) entry.getKey();+ wordhash = (String) entry.getKey();// get containerc = (indexContainer) entry.getValue();@@ -393,7 +393,7 @@ public final class indexRAMCacheRI extends indexAbstractRI implements indexRI {if (c.size() == 0) {i.remove();} else {- cache.put(l, c); // superfluous?+ cache.put(wordhash, c); // superfluous?}delCount++;}