This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: java.text.CollationElementIterator
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 17:17:06 +0200
- Subject: FYI: Patch: java.text.CollationElementIterator
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I commited the attached obvious fix to merge
java.text.CollationElementIterator more with classpath.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+8dPzWSOgCCdjSDsRAoDAAKCUhcwA7S6qsPToq0idacZKXdxqNACgh3FV
PdRx0D57QBcXd4IsbUTj7jk=
=uEJ3
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1967
diff -u -b -B -r1.1967 ChangeLog
--- ChangeLog 19 Jun 2003 15:08:20 -0000 1.1967
+++ ChangeLog 19 Jun 2003 15:11:49 -0000
@@ -1,5 +1,10 @@
2003-06-19 Michael Koch <konqueror@gmx.de>
+ * java/text/CollationElementIterator.java
+ (NULLORDER): Initialize with -1 as JDK documentation says.
+
+2003-06-19 Michael Koch <konqueror@gmx.de>
+
* java/net/HttpURLConnection.java,
java/net/Inet4Address.java,
java/net/Inet6Address.java,
Index: java/text/CollationElementIterator.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/text/CollationElementIterator.java,v
retrieving revision 1.6
diff -u -b -B -r1.6 CollationElementIterator.java
--- java/text/CollationElementIterator.java 30 Apr 2003 13:09:40 -0000 1.6
+++ java/text/CollationElementIterator.java 19 Jun 2003 15:11:49 -0000
@@ -1,6 +1,6 @@
/* CollationElementIterator.java -- Walks through collation elements
+ Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation
-/* Copyright (C) 1999, 2001 Free Software Foundation
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
@@ -60,7 +60,7 @@
* This is a constant value that is returned to indicate that the end of
* the string was encountered.
*/
- public static final int NULLORDER = 0xffffffff;
+ public static final int NULLORDER = -1;
/**
* This is the RuleBasedCollator this object was created from.