[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Patch: java.text.DecimalFormat
From: |
Jeroen Frijters |
Subject: |
FYI: Patch: java.text.DecimalFormat |
Date: |
Thu, 1 Apr 2004 14:26:56 +0200 |
Hi,
I committed below patch.
Regards,
Jeroen
2004-04-01 Jeroen Frijters <address@hidden>
* java/text/DecimalFormat.java (scanFix): Removed suffix check
for percent and permill check.
Index: java/text/DecimalFormat.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/text/DecimalFormat.java,v
retrieving revision 1.11
diff -u -r1.11 DecimalFormat.java
--- java/text/DecimalFormat.java 15 Nov 2003 21:45:27 -0000
1.11
+++ java/text/DecimalFormat.java 1 Apr 2004 12:20:04 -0000
@@ -90,7 +90,7 @@
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 @@
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 " +
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Patch: java.text.DecimalFormat,
Jeroen Frijters <=