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
This commit is contained in:
parent
c798c3c95e
commit
a7f34e92c9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user