From 4f43816ec049942419cea46c7c52b5468658ba6c Mon Sep 17 00:00:00 2001 From: hermens Date: Mon, 30 Jan 2006 17:09:07 +0000 Subject: [PATCH] *) Fix wrong class cast in indexSize() git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1495 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaWordIndexCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaWordIndexCache.java b/source/de/anomic/plasma/plasmaWordIndexCache.java index 2577d13a7..4a85caf45 100644 --- a/source/de/anomic/plasma/plasmaWordIndexCache.java +++ b/source/de/anomic/plasma/plasmaWordIndexCache.java @@ -268,7 +268,7 @@ public final class plasmaWordIndexCache implements plasmaWordIndexInterface { } } catch (IOException e) {} size += assortmentCluster.indexSize(wordHash); - TreeMap cacheIndex = (TreeMap) cache.get(wordHash); + plasmaWordIndexEntryContainer cacheIndex = (plasmaWordIndexEntryContainer) cache.get(wordHash); if (cacheIndex != null) size += cacheIndex.size(); return size; }