CollationElementIterator.java (reset): Reset lookahead variables.
authorJerry Quinn <jlquinn@optonline.net>
Sat, 24 Apr 2004 16:03:05 +0000 (16:03 +0000)
committerJerry Quinn <jlquinn@gcc.gnu.org>
Sat, 24 Apr 2004 16:03:05 +0000 (16:03 +0000)
2004-04-24  Jerry Quinn  <jlquinn@optonline.net>

* java/text/CollationElementIterator.java (reset): Reset
        lookahead variables.

From-SVN: r81142

libjava/ChangeLog
libjava/java/text/CollationElementIterator.java

index a4a0a0760ebdda3722a2cd7c4157704b2a555c1e..f71959335443cf126394b238e564d515c4f85c2e 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
+
+       * java/text/CollationElementIterator.java (reset): Reset
+        lookahead variables.
+
 2004-04-23  Mark Wielaard  <mark@klomp.org>
 
        * jni/classpath/jcl.c: Changed C++ comments into C comments.
index 2377a09548bc0f27e483ada40e52b90acc68f28e..1b5a6172e06d0b83714d38e9619fa01cb647ec19 100644 (file)
@@ -134,6 +134,8 @@ public final class CollationElementIterator
   public void reset()
   {
     textIndex = 0;
+    lookahead_set = false;
+    lookahead = 0;
   }
 
   /**