[kaffe] CVS kaffe (kaz): libraries/javalib/java/text/DecimalFormat.java:

Kaffe CVS cvs-commits at kaffe.org
Wed Oct 22 08:13:13 PDT 2003


PatchSet 4119 
Date: 2003/10/22 15:10:38
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2003-10-22  Ito Kazumitsu <kaz at maczuka.gcd.org>

        * libraries/javalib/java/text/DecimalFormat.java:
        corrected iscanFormat() so that '%' may appear in a pattern.

Members: 
	ChangeLog:1.1711->1.1712 
	libraries/javalib/java/text/DecimalFormat.java:1.21->1.22 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1711 kaffe/ChangeLog:1.1712
--- kaffe/ChangeLog:1.1711	Wed Oct 22 10:34:42 2003
+++ kaffe/ChangeLog	Wed Oct 22 15:10:38 2003
@@ -1,3 +1,8 @@
+2003-10-22  Ito Kazumitsu <kaz at maczuka.gcd.org>
+
+	* libraries/javalib/java/text/DecimalFormat.java:
+	corrected iscanFormat() so that '%' may appear in a pattern.
+
 2003-10-22  Dalibor Topic  <robilad at kaffe.org>
 
 	* Makefile.am,
Index: kaffe/libraries/javalib/java/text/DecimalFormat.java
diff -u kaffe/libraries/javalib/java/text/DecimalFormat.java:1.21 kaffe/libraries/javalib/java/text/DecimalFormat.java:1.22
--- kaffe/libraries/javalib/java/text/DecimalFormat.java:1.21	Wed Aug 27 15:44:12 2003
+++ kaffe/libraries/javalib/java/text/DecimalFormat.java	Wed Oct 22 15:10:39 2003
@@ -205,6 +205,8 @@
 	      }
 	    else if (c != syms.getExponential()
 		     && c != syms.getPatternSeparator()
+		     && c != syms.getPercent()
+		     && c != syms.getPerMill()
 		     && patChars.indexOf(c) != -1)
 	      throw new IllegalArgumentException ("unexpected special " +
 						  "character - index: " + index);




More information about the kaffe mailing list