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

Сергей Цыпанов duke at openjdk.java.net
Tue Dec 7 08:54:13 UTC 2021


On Mon, 6 Dec 2021 17:48:37 GMT, Phil Race <prr at openjdk.org> 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/sun/java2d/Spans.java line 322:
> 
>> 320:             float otherStart = otherSpan.getStart();
>> 321: 
>> 322:             return Float.compare(mStart, otherStart);
> 
> We don't need the variable any more, do we ?

inlined

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

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


More information about the i18n-dev mailing list