lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r418368 - in /lucene/java/trunk: CHANGES.txt contrib/spellchecker/src/java/org/apache/lucene/search/spell/LuceneDictionary.java
Date Fri, 30 Jun 2006 20:14:48 GMT
Author: otis
Date: Fri Jun 30 13:14:48 2006
New Revision: 418368

URL: http://svn.apache.org/viewvc?rev=418368&view=rev
Log:
- LUCENE-593, inner Iterator fixed

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/LuceneDictionary.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=418368&r1=418367&r2=418368&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Fri Jun 30 13:14:48 2006
@@ -69,7 +69,10 @@
 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

Modified: lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/LuceneDictionary.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/LuceneDictionary.java?rev=418368&r1=418367&r2=418368&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/LuceneDictionary.java
(original)
+++ lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/LuceneDictionary.java
Fri Jun 30 13:14:48 2006
@@ -66,6 +66,9 @@
     }
 
     public boolean hasNext() {
+      if (hasNextCalled) {
+        return actualTerm != null;
+      }
       hasNextCalled = true;
       try {
         // if there are no more words
@@ -87,6 +90,8 @@
       }
     }
 
-    public void remove() {}
+    public void remove() {
+      throw new UnsupportedOperationException();
+    }
   }
 }



Mime
View raw message