RFR: JDK-8295236: Update JavaDoc in javafx.geometry.Point3D

Douglas Held duke at openjdk.org
Fri Oct 14 15:21:12 UTC 2022


On Fri, 14 Oct 2022 15:13:41 GMT, Douglas Held <duke at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/geometry/Point3D.java line 417:
>> 
>>> 415:      * @param obj an object to be compared with this {@code Point3D}.
>>> 416:      * @return true if the object to be compared is an instance of Point3D and
>>> 417:      * has the same values; false otherwise.
>> 
>> `true`, `Point3D` and `false` should be in `{@code}`.
>
> Looking at the JavaDoc in the rest of the class, the {@code Point3D} tags are not used outside of these two methods hashCode() and equals(). I'd propose actually that we remove them, for consistency with the rest of the JavaDoc in this class.

...correction, found in toString() as well.

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

PR: https://git.openjdk.org/jfx/pull/913


More information about the openjfx-dev mailing list