iterartion bug:

http://www.yacy-forum.de/viewtopic.php?p=14182#14182


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1235 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2005-12-19 00:40:06 +00:00
parent ba669887e4
commit 60fc34d9e8

View File

@ -904,7 +904,7 @@ public class kelondroTree extends kelondroRecords implements Comparator, kelondr
}
public boolean hasNext() {
return (rot) || (nextNode != null);
return (rot && (size() > 0)) || (nextNode != null);
}
public Object next() {