From: Mark Davis Date: Fri, 13 Sep 2013 19:53:16 +0000 (+0000) Subject: ICU-8474 restored the canonicalization to =, !=, and %. (Somehow it got reverted... X-Git-Tag: milestone-59-0-1~2532 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7f34e92c9fa34d5bb7b2fc050fb06fa1d7e626a;p=icu ICU-8474 restored the canonicalization to =, !=, and %. (Somehow it got reverted, not sure how.) Ran the core tests; was unable to run all the tests (see email to core). X-SVN-Rev: 34317 --- diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java b/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java index 42e6ee09c25..cc5752e4348 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java @@ -1280,12 +1280,12 @@ public class PluralRules implements Serializable { StringBuilder result = new StringBuilder(); result.append(operand); if (mod != 0) { - result.append(" mod ").append(mod); + result.append(" % ").append(mod); } boolean isList = lowerBound != upperBound; result.append( - !isList ? (inRange ? " is " : " is not ") - : integersOnly ? (inRange ? " in " : " not in ") + !isList ? (inRange ? " = " : " != ") + : integersOnly ? (inRange ? " = " : " != ") : (inRange ? " within " : " not within ") ); if (range_list != null) {