ICU-8226 fixed sign on comparison
X-SVN-Rev: 29289
This commit is contained in:
parent
8f2666924e
commit
7e67c6ed63
@ -4272,7 +4272,7 @@ public class UnicodeSet extends UnicodeFilter implements Iterable<String>, Compa
|
||||
* @stable ICU 4.4
|
||||
*/
|
||||
public static int compare(int codePoint, String string) {
|
||||
return CharSequences.compare(string, codePoint);
|
||||
return -CharSequences.compare(string, codePoint);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user