Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

added more info in assert in balancer

orbiterba51d140e1cc
diff --git a/source/de/anomic/crawler/Balancer.java b/source/de/anomic/crawler/Balancer.java
index ed7a922f6..7419e5e8a 100644
--- a/source/de/anomic/crawler/Balancer.java
+++ b/source/de/anomic/crawler/Balancer.java
@@ -250,7 +250,7 @@ public class Balancer {
// add to index
final int s = urlFileIndex.size();
urlFileIndex.put(entry.toRow());
- assert s < urlFileIndex.size() : "hash = " + hash;
+ assert s < urlFileIndex.size() : "hash = " + hash + ", s = " + s + ", size = " + urlFileIndex.size();
assert urlFileIndex.has(hash.getBytes()) : "hash = " + hash;
// add the hash to a queue