Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed possibly bug with indexOutOfBoundsException
orbitercc97a3e9c682
diff --git a/source/de/anomic/kelondro/kelondroRow.java b/source/de/anomic/kelondro/kelondroRow.javaindex 896aefb65..650676883 100644--- a/source/de/anomic/kelondro/kelondroRow.java+++ b/source/de/anomic/kelondro/kelondroRow.java@@ -190,19 +190,15 @@ public class kelondroRow {if (nickref == null) genNickRef();String nick;int p;- Object[] f;rowinstance = new byte[objectsize];for (int i = 0; i < elts.length; i++) {p = elts[i].indexOf('=');if (p > 0) {nick = elts[i].substring(0, p).trim();- f = (Object[]) nickref.get(nick);- if (f != null) {- System.arraycopy(- elts[i].substring(p + 1).trim().getBytes(), 0,- rowinstance, ((Integer) f[1]).intValue(),- ((kelondroColumn) f[0]).cellwidth());- }+ if (p + 1 == elts[i].length())+ setCol(nick, null);+ else+ setCol(nick, elts[i].substring(p + 1).trim().getBytes());}}}