Small fix to this patch, got rid of the (now) unused local variable
"save".
2005-09-26 Anthony Balkissoon <[EMAIL PROTECTED]>
* gnu/java/text/BaseBreakIterator.java:
(following): Removed unused local variable.
--Tony
On Thu, 2005-09-22 at 14:24 -0400, Anthony Balkissoon wrote:
> BaseBreakIterator.following(int) was restoring the old index to the
> CharacterIterator, but it should not. It should set the index to the
> parameter and not change it back. Fixed.
>
> 2005-09-22 Anthony Balkissoon <[EMAIL PROTECTED]>
>
> * gnu/java/text/BaseBreakIterator.java:
> (following): Don't restore old CharacterIterator index.
>
> --Tony
> _______________________________________________
> Classpath-patches mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/classpath-patches
Index: gnu/java/text/BaseBreakIterator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/text/BaseBreakIterator.java,v
retrieving revision 1.5
diff -u -r1.5 BaseBreakIterator.java
--- gnu/java/text/BaseBreakIterator.java 22 Sep 2005 18:22:53 -0000 1.5
+++ gnu/java/text/BaseBreakIterator.java 26 Sep 2005 14:26:52 -0000
@@ -75,7 +75,6 @@
*/
public int following (int pos)
{
- int save = iter.getIndex();
iter.setIndex(pos);
int r = next ();
return r;
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches