diff options
author | Elliott Hughes <enh@google.com> | 2009-11-17 16:42:52 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-17 16:42:52 -0800 |
commit | 9c4f6dc41474742e0331292281815d2c3fbaa78b (patch) | |
tree | abe43ddd79796098eebebaf5938bcc5abade001d | |
parent | c53fc8aa0cae268ac4e9fbbdf66e2a3002d7760b (diff) | |
parent | 30ac2225b7ac7a5f166f044a27f47bc2cd9815ae (diff) | |
download | libcore-9c4f6dc41474742e0331292281815d2c3fbaa78b.zip libcore-9c4f6dc41474742e0331292281815d2c3fbaa78b.tar.gz libcore-9c4f6dc41474742e0331292281815d2c3fbaa78b.tar.bz2 |
am 08c24984: Merge change I0ee370b9 into eclair-mr2
Merge commit '08c24984fd3cb3e927c9a97b8413843b4b215dc5' into eclair-mr2-plus-aosp
* commit '08c24984fd3cb3e927c9a97b8413843b4b215dc5':
Consistently use Formatter's cached NumberFormat.
-rw-r--r-- | luni/src/main/java/java/util/Formatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/main/java/java/util/Formatter.java b/luni/src/main/java/java/util/Formatter.java index d1dd417..3196f0e 100644 --- a/luni/src/main/java/java/util/Formatter.java +++ b/luni/src/main/java/java/util/Formatter.java @@ -1896,7 +1896,7 @@ public final class Formatter implements Closeable, Flushable { } // output result FloatUtil floatUtil = new FloatUtil(result, formatToken, - (DecimalFormat) NumberFormat.getInstance(locale), arg); + (DecimalFormat) getNumberFormat(), arg); floatUtil.transform(formatToken, result); formatToken.setPrecision(FormatToken.UNSET); |