From 8ea1d7ab598ac4ac73b1b79c833aabbf27611059 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 18 Sep 2009 21:49:38 +0000 Subject: [PATCH] fix for wrong assert condition in search abstract generation git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6330 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/search/SearchEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/search/SearchEvent.java b/source/de/anomic/search/SearchEvent.java index 66c000025..40da35024 100644 --- a/source/de/anomic/search/SearchEvent.java +++ b/source/de/anomic/search/SearchEvent.java @@ -165,7 +165,7 @@ public final class SearchEvent { for (Map.Entry> entry : this.rankedCache.searchContainerMap().entrySet()) { wordhash = entry.getKey(); final ReferenceContainer container = entry.getValue(); - assert (container.getTermHash().equals(wordhash)); + assert (Base64Order.enhancedCoder.equal(container.getTermHash(), wordhash)) : "container.getTermHash() = " + new String(container.getTermHash()) + ", wordhash = " + new String(wordhash); if (container.size() > maxcount) { IAmaxcounthash = wordhash; maxcount = container.size();