- LUCENE-593, inner Iterator fixed

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2006-06-30 20:14:48 +00:00
parent d13def5f21
commit ddae8f0c57
2 changed files with 10 additions and 2 deletions

View File

@ -69,7 +69,10 @@ Bug fixes
10. LUCENE-451: All core query types now use ComplexExplanations so that
boosts of zero don't confuse the BooleanWeight explain method.
(Chris Hostetter)
11. LUCENE-593: Fixed inner Iterator
(Kåre Fiedler Christiansen via Otis Gospodnetic)
Optimizations
1. LUCENE-586: TermDocs.skipTo() is now more efficient for multi-segment

View File

@ -66,6 +66,9 @@ public class LuceneDictionary implements Dictionary {
}
public boolean hasNext() {
if (hasNextCalled) {
return actualTerm != null;
}
hasNextCalled = true;
try {
// if there are no more words
@ -87,6 +90,8 @@ public class LuceneDictionary implements Dictionary {
}
}
public void remove() {}
public void remove() {
throw new UnsupportedOperationException();
}
}
}