From 55d51e4b8c92b8171675a8f12638f6873e195c26 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 8 May 2009 15:35:53 +0000 Subject: [PATCH] fixed bug in indexcleaner git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5933 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/IndexCleaner_p.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/IndexCleaner_p.java b/htroot/IndexCleaner_p.java index fe4ecc693..6fcf8039d 100755 --- a/htroot/IndexCleaner_p.java +++ b/htroot/IndexCleaner_p.java @@ -96,7 +96,7 @@ public class IndexCleaner_p { prop.putNum("rwidb_RWIcountstart", indexCleanerThread.rwiCountAtStart); prop.putNum("rwidb_RWIcountnow", sb.webIndex.index().size()); prop.put("rwidb_wordHashNow", indexCleanerThread.wordHashNow); - prop.put("rwidb_lastWordHash", indexCleanerThread.lastWordHash); + prop.put("rwidb_lastWordHash", (indexCleanerThread.lastWordHash == null) ? "null" : new String(indexCleanerThread.lastWordHash)); prop.putNum("rwidb_lastDeletionCounter", indexCleanerThread.lastDeletionCounter); }