<i18n dev> RFR: 8277868: Use Comparable.compare() instead of surrogate code [v2]

Сергей Цыпанов duke at openjdk.java.net
Mon Nov 29 08:18:50 UTC 2021


On Sat, 27 Nov 2021 22:50:55 GMT, Michael Bien <duke at openjdk.java.net> wrote:

>> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8277868: Use Integer.signum() in BasicTableUI
>
> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTableUI.java line 249:
> 
>> 247: 
>> 248:         private static int sign(int num) {
>> 249:             return Integer.compare(num, 0);
> 
> => Integer.signum(num)

Done!

-------------

PR: https://git.openjdk.java.net/jdk/pull/6575


More information about the i18n-dev mailing list