RFR: JDK-8295236: Update JavaDoc in javafx.geometry.Point3D [v5]
Nir Lisker
nlisker at openjdk.org
Wed Oct 19 12:38:39 UTC 2022
On Wed, 19 Oct 2022 12:34:15 GMT, Douglas Held <duke at openjdk.org> wrote:
>> The JavaDoc for equals had a copy/paste error. I normalized the text based on the JavaDoc for method java.awt.Point#equals. ~~I also changed formatting in the method signatures of equals(), hashCode() and toString().~~
>>
>> For good measure, some kind of copy/paste detection should probably be added to the many automated checks. For the entire OpenJDK project.
>
> Douglas Held has updated the pull request incrementally with one additional commit since the last revision:
>
> Update Point3D.java
>
> Per review
modules/javafx.graphics/src/main/java/javafx/geometry/Point3D.java line 417:
> 415: * {@code getX}, {@code getY}, and {@code getZ} methods are equal.
> 416: *
> 417: * @param {@code obj} the reference object with which to compare
Don't use `@code` for the parameter declaration, they are treated automatically by the javadoc tool.
-------------
PR: https://git.openjdk.org/jfx/pull/913
More information about the openjfx-dev
mailing list