diff options
author | Mario Torre <neugens@limasoftware.net> | 2006-11-29 16:51:13 +0000 |
---|---|---|
committer | Mario Torre <neugens@limasoftware.net> | 2006-11-29 16:51:13 +0000 |
commit | bdbe9b9a423fa7c1ddabe4cf6dae0b07d181250d (patch) | |
tree | dc52d5d326b160e5599882eedb702b298880e2d7 /java/text/DecimalFormatSymbols.java | |
parent | 5cd42793966e2ab10dab52ac101eced8294dbf32 (diff) | |
download | classpath-bdbe9b9a423fa7c1ddabe4cf6dae0b07d181250d.tar.gz |
2006-11-29 Mario Torre <neugens@limasoftware.net>
* java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
with the default international currency sign \u00A4.
* java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
table for string formatting.
(formatInternal): likewise.
(scanNegativePattern): likewise.
(applyPattern): likewise.
* java/text/DecimalFormatSymbols.java (clone): Revert to old version as
Locale is immutable and does not need clone.
Diffstat (limited to 'java/text/DecimalFormatSymbols.java')
-rw-r--r-- | java/text/DecimalFormatSymbols.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/text/DecimalFormatSymbols.java b/java/text/DecimalFormatSymbols.java index 6b92d9c38..e4a14a7e3 100644 --- a/java/text/DecimalFormatSymbols.java +++ b/java/text/DecimalFormatSymbols.java @@ -69,9 +69,7 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable { try { - DecimalFormatSymbols c = (DecimalFormatSymbols) super.clone(); - c.locale = (Locale) locale.clone (); - return c; + return super.clone(); } catch(CloneNotSupportedException e) { |