From 391d8ef5e0f2ad2a8be72b12e837386f3ac2b730 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 20 Apr 2004 16:14:25 +0000 Subject: [multiple changes] 2004-04-20 Jeroen Frijters * java/text/DecimalFormat.java (scanFix): Removed suffix check for percent and permill check. 2004-04-20 Guilhem Lavaux * java/text/FieldPosition.java (FieldPosition) Constructor now behaves as it should according to the java documentation. 2004-04-20 Mark Wielaard * java/util/Properties.java: Use the word umlaut, not ä in api documentation. From-SVN: r80910 --- libjava/java/text/DecimalFormat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libjava/java/text/DecimalFormat.java') diff --git a/libjava/java/text/DecimalFormat.java b/libjava/java/text/DecimalFormat.java index 359ad5591b0..2f6691a8531 100644 --- a/libjava/java/text/DecimalFormat.java +++ b/libjava/java/text/DecimalFormat.java @@ -90,7 +90,7 @@ public class DecimalFormat extends NumberFormat else buf.append(syms.getCurrencySymbol()); } - else if (is_suffix && c == syms.getPercent()) + else if (c == syms.getPercent()) { if (multiplierSet) throw new IllegalArgumentException ("multiplier already set " + @@ -99,7 +99,7 @@ public class DecimalFormat extends NumberFormat multiplier = 100; buf.append(c); } - else if (is_suffix && c == syms.getPerMill()) + else if (c == syms.getPerMill()) { if (multiplierSet) throw new IllegalArgumentException ("multiplier already set " + -- cgit v1.2.3