From 25a59a51ad951f954bc24410d198b23f296be1c6 Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 28 Sep 2005 23:16:00 +0000 Subject: [PATCH] fixed problem created with last svn commit git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@810 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Network.java | 1 + source/de/anomic/kelondro/kelondroDyn.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htroot/Network.java b/htroot/Network.java index f2888ae0d..c588bd1d8 100644 --- a/htroot/Network.java +++ b/htroot/Network.java @@ -293,6 +293,7 @@ public class Network { links = Long.parseLong(seed.get("LCount", "0")); words = Long.parseLong(seed.get("ICount", "0")); } catch (Exception exc) {links = 0; words = 0;} + prop.put(STR_TABLE_LIST+conCount+"_hash", seed.hash); String shortname = seed.get("Name", "deadlink"); if (shortname.length() > 20) { shortname = shortname.substring(0, 20) + "..."; diff --git a/source/de/anomic/kelondro/kelondroDyn.java b/source/de/anomic/kelondro/kelondroDyn.java index bcd9fc649..b90912954 100644 --- a/source/de/anomic/kelondro/kelondroDyn.java +++ b/source/de/anomic/kelondro/kelondroDyn.java @@ -126,7 +126,7 @@ public class kelondroDyn extends kelondroTree { } private byte[] dynKey(String key, int record) { - if (key.length() > keylen) throw new RuntimeException("key len out of limit:" + key.length()); + if (key.length() > keylen) throw new RuntimeException("key len (" + key.length() + ") out of limit (" + keylen + "): '" + key + "'"); while (key.length() < keylen) key = key + "_"; key = key + counter(record); return key.getBytes();