From 6f0b1fa57ee7bea87c2808546b342452825bad06 Mon Sep 17 00:00:00 2001 From: Jerry Quinn Date: Sat, 24 Apr 2004 16:03:05 +0000 Subject: [PATCH] CollationElementIterator.java (reset): Reset lookahead variables. 2004-04-24 Jerry Quinn * java/text/CollationElementIterator.java (reset): Reset lookahead variables. From-SVN: r81142 --- libjava/ChangeLog | 5 +++++ libjava/java/text/CollationElementIterator.java | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a4a0a0760eb..f7195933544 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-04-24 Jerry Quinn + + * java/text/CollationElementIterator.java (reset): Reset + lookahead variables. + 2004-04-23 Mark Wielaard * jni/classpath/jcl.c: Changed C++ comments into C comments. diff --git a/libjava/java/text/CollationElementIterator.java b/libjava/java/text/CollationElementIterator.java index 2377a09548b..1b5a6172e06 100644 --- a/libjava/java/text/CollationElementIterator.java +++ b/libjava/java/text/CollationElementIterator.java @@ -134,6 +134,8 @@ public final class CollationElementIterator public void reset() { textIndex = 0; + lookahead_set = false; + lookahead = 0; } /**