*) Fix wrong class cast in indexSize()

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1495 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 19 years ago
parent 48e302252e
commit 4f43816ec0

@ -268,7 +268,7 @@ public final class plasmaWordIndexCache implements plasmaWordIndexInterface {
} }
} catch (IOException e) {} } catch (IOException e) {}
size += assortmentCluster.indexSize(wordHash); size += assortmentCluster.indexSize(wordHash);
TreeMap cacheIndex = (TreeMap) cache.get(wordHash); plasmaWordIndexEntryContainer cacheIndex = (plasmaWordIndexEntryContainer) cache.get(wordHash);
if (cacheIndex != null) size += cacheIndex.size(); if (cacheIndex != null) size += cacheIndex.size();
return size; return size;
} }

Loading…
Cancel
Save