Skip to content

Commit

Permalink
*) Iterators can't be casted to IndexContainer
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2406 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
hydrox committed Aug 13, 2006
1 parent 5e0b6f8 commit 7a54010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/plasma/plasmaWordIndex.java
Expand Up @@ -728,7 +728,7 @@ public void run() {
TreeSet containers = indexContainerSet(container.getWordHash(), plasmaWordIndex.RL_WORDFILES, false, 100);
indexContainerIterator = containers.iterator();
// Make sure we don't get the same wordhash twice, but don't skip a word
if ((indexContainerIterator.hasNext())&&(!container.getWordHash().equals(((indexContainer) indexContainerIterator).getWordHash()))) {
if ((indexContainerIterator.hasNext())&&(!container.getWordHash().equals(((indexContainer) indexContainerIterator.next()).getWordHash()))) {
indexContainerIterator = containers.iterator();
}
}
Expand Down

0 comments on commit 7a54010

Please sign in to comment.