diff options
| author | Michael Koch <mkoch@gcc.gnu.org> | 2004-04-20 16:14:25 +0000 |
|---|---|---|
| committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-04-20 16:14:25 +0000 |
| commit | 391d8ef5e0f2ad2a8be72b12e837386f3ac2b730 (patch) | |
| tree | 454cb44303514e8bdff5ab657943c3b093d1d468 /libjava/java/text/DecimalFormat.java | |
| parent | 92e1fe674851eff331db253bcb79199716a341f6 (diff) | |
[multiple changes]
2004-04-20 Jeroen Frijters <jeroen@frijters.net>
* java/text/DecimalFormat.java (scanFix): Removed suffix check
for percent and permill check.
2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/FieldPosition.java
(FieldPosition) Constructor now behaves as it should according
to the java documentation.
2004-04-20 Mark Wielaard <mark@klomp.org>
* java/util/Properties.java: Use the word umlaut, not ä in api
documentation.
From-SVN: r80910
Diffstat (limited to 'libjava/java/text/DecimalFormat.java')
| -rw-r--r-- | libjava/java/text/DecimalFormat.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 " + |
