RFR: 8325550: Grammatical error in AnchorPane.setLeftAnchor (and other setters) javadoc
Andy Goryachev
angorya at openjdk.org
Fri Feb 23 19:46:58 UTC 2024
On Fri, 23 Feb 2024 19:34:41 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> Fixes for the `AnchorPane` docs, as well as for the `NodeOrientation` docs in `Node` and `Scene`.
>>
>> Note that the default value for a `Scene`'s `NodeOrientation` depends on a system property, while for `Node` it isn't (which means `SubScene` will be different from `Scene`). Not sure if this is intended.
>
> modules/javafx.graphics/src/main/java/javafx/scene/Scene.java line 6272:
>
>> 6270: * of text in both worlds.
>> 6271: *
>> 6272: * @defaultValue if the system property {@code javafx.scene.nodeOrientation.RTL} is {@code true},
>
> Restore the `@return` to avoid a warning.
it seems that placing javadoc at the property declaration instead of the method which returns said property eliminates the warning.
See for example Stage:1329
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1379#discussion_r1501100898
More information about the openjfx-dev
mailing list