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

Nir Lisker nlisker at openjdk.org
Wed Oct 19 12:51:22 UTC 2022


On Wed, 19 Oct 2022 12:38:54 GMT, Douglas Held <duke at openjdk.org> wrote:

>> 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.
>
> Don't use it for `obj` you mean?

Here, yes. The parameter name following `@param` is taken care of automatically (a hyphen is also added after it).

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

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


More information about the openjfx-dev mailing list