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
pull/1/head
orbiter 15 years ago
parent 70bda620db
commit 8ea1d7ab59

@ -165,7 +165,7 @@ public final class SearchEvent {
for (Map.Entry<byte[], ReferenceContainer<WordReference>> entry : this.rankedCache.searchContainerMap().entrySet()) { for (Map.Entry<byte[], ReferenceContainer<WordReference>> entry : this.rankedCache.searchContainerMap().entrySet()) {
wordhash = entry.getKey(); wordhash = entry.getKey();
final ReferenceContainer container = entry.getValue(); 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) { if (container.size() > maxcount) {
IAmaxcounthash = wordhash; IAmaxcounthash = wordhash;
maxcount = container.size(); maxcount = container.size();

Loading…
Cancel
Save