On Tue, 7 Dec 2021 08:16:08 GMT, Сергей Цыпанов <d...@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