diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/PluralRulesTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/PluralRulesTest.java index 48e3e2f852..4405b62dc3 100644 --- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/PluralRulesTest.java +++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/PluralRulesTest.java @@ -354,7 +354,7 @@ public class PluralRulesTest extends TestFmwk { valueList = valueList.trim(); } Collection values; - if (valueList == null || valueList.isEmpty()) { + if (valueList == null || valueList.length() == 0) { values = Collections.emptyList(); } else if ("null".equals(valueList)) { values = null;