]> granicus.if.org Git - icu/commitdiff
ICU-8474 restored the canonicalization to =, !=, and %. (Somehow it got reverted...
authorMark Davis <mark@macchiato.com>
Fri, 13 Sep 2013 19:53:16 +0000 (19:53 +0000)
committerMark Davis <mark@macchiato.com>
Fri, 13 Sep 2013 19:53:16 +0000 (19:53 +0000)
X-SVN-Rev: 34317

icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java

index 42e6ee09c2523c48f3e2d87f024e44ae7bcddc4c..cc5752e43480d3575f88f6ce5626faf70fdffa64 100644 (file)
@@ -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) {