Index: LuceneDictionary.java
===================================================================
--- LuceneDictionary.java	(revision 418224)
+++ LuceneDictionary.java	(working copy)
@@ -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();
+    }
   }
 }
