From 93b7ddc27d2af40801d2bbeaeeef887660270451 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 21 Feb 2010 22:49:35 +0000 Subject: [PATCH] fix for http://forum.yacy-websuche.de/viewtopic.php?p=19376#p19376 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6684 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/data/bookmarksDB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/data/bookmarksDB.java b/source/de/anomic/data/bookmarksDB.java index db251f974..8e5f42696 100644 --- a/source/de/anomic/data/bookmarksDB.java +++ b/source/de/anomic/data/bookmarksDB.java @@ -394,8 +394,8 @@ public class bookmarksDB { final Iterator it=hashes.iterator(); Bookmark bm; while(it.hasNext()){ - bm=getBookmark(it.next()); - if(bm.getPublic()){ + bm = getBookmark(it.next()); + if (bm != null && bm.getPublic()) { set.add(bm.getUrlHash()); } }