Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
patch for IndexOutOfBoundsException
orbiterf29b48d9ff6f
diff --git a/source/de/anomic/kelondro/kelondroEcoTable.java b/source/de/anomic/kelondro/kelondroEcoTable.javaindex 921c84cc3..dbf667469 100644--- a/source/de/anomic/kelondro/kelondroEcoTable.java+++ b/source/de/anomic/kelondro/kelondroEcoTable.java@@ -294,6 +294,7 @@ public class kelondroEcoTable implements kelondroIndex {L = is[j];assert L.intValue() < file.size() : "L.intValue() = " + L.intValue() + ", file.size = " + file.size(); // prevent ooBounds Exceptiond.add(L);+ if (L.intValue() >= file.size()) continue; // prevent IndexOutOfBoundsExceptionfile.get(L.intValue(), b, 0); // TODO: fix IndexOutOfBoundsException hereinconsistentEntry = rowdef.newEntry(b);rows.addUnique(inconsistentEntry);