From 8b941eec31d98619765dec95929a2a86058d5843 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Wed, 29 Oct 2003 16:07:59 +0000 Subject: [multiple changes] 2003-10-29 Mark Wielaard From Guilhem Lavaux * java/text/DateFormat.java (Field): New public static inner class. * java/text/Format.java (Field): Likewise. (formatToCharacterIterator): New method. * java/text/FormatCharacterIterator.java: New file. 2003-10-29 Mark Wielaard From Guilhem Lavaux * java/util/Currency.java: New file. 2003-10-29 Michael Koch * Makefile.am (ordinary_java_source_files): Added java/text/FormatCharacterIterator.java and java/util/Currency.java. * Makefile.in: Regenerated. From-SVN: r73046 --- libjava/java/text/DecimalFormat.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libjava/java/text/DecimalFormat.java') diff --git a/libjava/java/text/DecimalFormat.java b/libjava/java/text/DecimalFormat.java index 7c5d5b0ba7b..8dae1872fd3 100644 --- a/libjava/java/text/DecimalFormat.java +++ b/libjava/java/text/DecimalFormat.java @@ -202,6 +202,8 @@ public class DecimalFormat extends NumberFormat } 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); -- cgit v1.2.3