From 0017812b2edda1e05f742776aead577bb1fcff06 Mon Sep 17 00:00:00 2001 From: orbiter Date: Tue, 14 Feb 2006 22:18:45 +0000 Subject: [PATCH] bugfix for null compare see http://www.yacy-forum.de/viewtopic.php?p=16980#16980 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1644 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/kelondro/kelondroTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/kelondro/kelondroTree.java b/source/de/anomic/kelondro/kelondroTree.java index f4c951023..96cf5b6d3 100644 --- a/source/de/anomic/kelondro/kelondroTree.java +++ b/source/de/anomic/kelondro/kelondroTree.java @@ -265,7 +265,7 @@ public class kelondroTree extends kelondroRecords implements kelondroIndex { throw new kelondroException(filename, "kelondroTree.Search.process: thenode==null"); } k = thenode.getKey(); - if ((k != null) & (visitedNodeKeys.contains(k))) { + if ((k != null) && (visitedNodeKeys.contains(k))) { // we have loops in the database. // to fix this, all affected nodes must be patched thenode.setOHByte(magic, (byte) 1);