ICU-8432 remove String.isEmpty so we remain jdk5 compatible

X-SVN-Rev: 29658
This commit is contained in:
Doug Felt 2011-03-15 20:37:59 +00:00
parent fd16ddb927
commit 7c03ac10e6

View File

@ -354,7 +354,7 @@ public class PluralRulesTest extends TestFmwk {
valueList = valueList.trim();
}
Collection<Double> values;
if (valueList == null || valueList.isEmpty()) {
if (valueList == null || valueList.length() == 0) {
values = Collections.<Double>emptyList();
} else if ("null".equals(valueList)) {
values = null;