mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-3936 ULocale swat - cleanup typos
X-SVN-Rev: 16200
This commit is contained in:
parent
660e7d9374
commit
b6d8be27da
2 changed files with 5 additions and 3 deletions
|
@ -7,8 +7,10 @@
|
|||
package com.ibm.icu.text;
|
||||
|
||||
import com.ibm.icu.lang.UCharacter;
|
||||
import java.util.Locale;
|
||||
import com.ibm.icu.util.ULocale;
|
||||
|
||||
import java.text.CharacterIterator;
|
||||
import java.util.Locale;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -622,7 +622,7 @@ public class DecimalFormat extends NumberFormat {
|
|||
*/
|
||||
public DecimalFormat() {
|
||||
// [NEW]
|
||||
Locale def = ULocale.getDefault();
|
||||
ULocale def = ULocale.getDefault();
|
||||
String pattern = getPattern(def, 0);
|
||||
// Always applyPattern after the symbols are set
|
||||
this.symbols = new DecimalFormatSymbols(def);
|
||||
|
@ -650,7 +650,7 @@ public class DecimalFormat extends NumberFormat {
|
|||
*/
|
||||
public DecimalFormat(String pattern) {
|
||||
// Always applyPattern after the symbols are set
|
||||
Locale def = ULocale.getDefault();
|
||||
ULocale def = ULocale.getDefault();
|
||||
this.symbols = new DecimalFormatSymbols(def);
|
||||
setCurrency(Currency.getInstance(def));
|
||||
applyPattern( pattern, false );
|
||||
|
|
Loading…
Add table
Reference in a new issue