ICU-3936 ULocale swat - cleanup typos

X-SVN-Rev: 16200
This commit is contained in:
Doug Felt 2004-08-27 17:48:19 +00:00
parent 660e7d9374
commit b6d8be27da
2 changed files with 5 additions and 3 deletions

View file

@ -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;
/**

View file

@ -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 );