From: Yoshito Umaoka Date: Mon, 27 Sep 2021 05:46:07 +0000 (-0400) Subject: ICU-21581 BRS 70RC Clean up import statements X-Git-Tag: release-70-rc~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21169d55cdc54d8c50ff8502ab048fdbe94359a6;p=icu ICU-21581 BRS 70RC Clean up import statements --- diff --git a/icu4j/main/classes/core/src/com/ibm/icu/impl/units/MeasureUnitImpl.java b/icu4j/main/classes/core/src/com/ibm/icu/impl/units/MeasureUnitImpl.java index 59789b12a7b..88a71ba7ad5 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/impl/units/MeasureUnitImpl.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/impl/units/MeasureUnitImpl.java @@ -6,9 +6,6 @@ import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; -import java.util.HashMap; -import java.util.Iterator; -import java.util.Map; import com.ibm.icu.util.BytesTrie; import com.ibm.icu.util.CharsTrie; diff --git a/icu4j/main/classes/core/src/com/ibm/icu/number/NumberFormatterImpl.java b/icu4j/main/classes/core/src/com/ibm/icu/number/NumberFormatterImpl.java index 953ebc24749..365dfc783c2 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/number/NumberFormatterImpl.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/number/NumberFormatterImpl.java @@ -5,8 +5,8 @@ package com.ibm.icu.number; import com.ibm.icu.impl.FormattedStringBuilder; import com.ibm.icu.impl.IllegalIcuArgumentException; import com.ibm.icu.impl.StandardPlural; -import com.ibm.icu.impl.number.CompactData.CompactType; import com.ibm.icu.impl.number.AffixPatternProvider; +import com.ibm.icu.impl.number.CompactData.CompactType; import com.ibm.icu.impl.number.ConstantAffixModifier; import com.ibm.icu.impl.number.DecimalQuantity; import com.ibm.icu.impl.number.DecimalQuantity_DualStorageBCD; diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/UnitsTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/UnitsTest.java index ba15eab7f18..c8706cbbfc4 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/UnitsTest.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/UnitsTest.java @@ -13,8 +13,6 @@ import java.math.MathContext; import java.util.ArrayList; import java.util.List; -import com.ibm.icu.impl.units.UnitPreferences; -import com.ibm.icu.impl.units.UnitsData; import org.junit.Test; import com.ibm.icu.dev.test.TestUtil; @@ -22,7 +20,9 @@ import com.ibm.icu.impl.Pair; import com.ibm.icu.impl.units.ComplexUnitsConverter; import com.ibm.icu.impl.units.ConversionRates; import com.ibm.icu.impl.units.MeasureUnitImpl; +import com.ibm.icu.impl.units.UnitPreferences; import com.ibm.icu.impl.units.UnitsConverter; +import com.ibm.icu.impl.units.UnitsData; import com.ibm.icu.impl.units.UnitsRouter; import com.ibm.icu.util.Measure; import com.ibm.icu.util.MeasureUnit; diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/PatternStringTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/PatternStringTest.java index 96a1a3a6f0c..af9a72eaf01 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/PatternStringTest.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/PatternStringTest.java @@ -11,8 +11,8 @@ import com.ibm.icu.dev.test.format.FormattedValueTest; import com.ibm.icu.impl.number.DecimalFormatProperties; import com.ibm.icu.impl.number.MacroProps; import com.ibm.icu.impl.number.PatternStringParser; -import com.ibm.icu.impl.number.PatternStringUtils; import com.ibm.icu.impl.number.PatternStringParser.ParsedPatternInfo; +import com.ibm.icu.impl.number.PatternStringUtils; import com.ibm.icu.number.FormattedNumber; import com.ibm.icu.number.LocalizedNumberFormatter; import com.ibm.icu.number.NumberFormatter; diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/RBBILSTMTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/RBBILSTMTest.java index 441ec7d6fda..3c9545d26ac 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/RBBILSTMTest.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/RBBILSTMTest.java @@ -7,8 +7,6 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; -import java.text.CharacterIterator; -import java.text.StringCharacterIterator; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java b/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java index e54766f3dca..7492ade5e75 100644 --- a/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java +++ b/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java @@ -12,14 +12,10 @@ import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.security.Policy; -import java.util.ArrayList; import java.util.Arrays; -import java.util.List; import java.util.Locale; -import java.util.Map; import java.util.Properties; import java.util.Random; -import java.util.TreeMap; import org.junit.After; import org.junit.AfterClass; diff --git a/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/UnicodeKnownIssues.java b/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/UnicodeKnownIssues.java index 30b1d5bc00f..0c4c2c30782 100644 --- a/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/UnicodeKnownIssues.java +++ b/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/UnicodeKnownIssues.java @@ -6,8 +6,8 @@ package com.ibm.icu.dev.test; import java.util.ArrayList; import java.util.List; import java.util.Map; -import java.util.TreeMap; import java.util.Map.Entry; +import java.util.TreeMap; import java.util.regex.Matcher; import java.util.regex.Pattern;