ICU-11426 make implicit narrowing compound assignment explicit

X-SVN-Rev: 36881
This commit is contained in:
Markus Scherer 2014-12-17 20:27:28 +00:00
parent 2ec23f63a2
commit 1c447ba174

View file

@ -66,7 +66,7 @@ public final class CollationLoader {
sb.append(s, 0, i).append((char)(c + 0x20));
while (++i < s.length()) {
c = s.charAt(i);
if ('A' <= c && c <= 'Z') { c += 0x20; }
if ('A' <= c && c <= 'Z') { c = (char)(c + 0x20); }
sb.append(c);
}
return sb.toString();