<i18n dev> RFR: 8277868: Use Comparable.compare() instead of surrogate code [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Tue Dec 7 12:28:17 UTC 2021
On Tue, 7 Dec 2021 08:16:08 GMT, Сергей Цыпанов <duke at openjdk.java.net> wrote:
>> src/java.desktop/share/classes/java/awt/geom/Line2D.java line 115:
>>
>>> 113: */
>>> 114: public double getX1() {
>>> 115: return x1;
>>
>> What do these changes have to do with the subject of the PR ?
>
> Just a tiny clean-up in on of affected files. Do you want this to be reverted?
I believe it makes to preserve the cast: the fields are of type `float` and explicit cast hints there's a type conversion.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6575
More information about the i18n-dev
mailing list