[jfx17] RFR: 8250590: Classes and methods in the javafx.css package are missing documentation

Ajit Ghaisas aghaisas at openjdk.java.net
Tue Jul 27 09:56:32 UTC 2021


On Mon, 26 Jul 2021 18:58:59 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> This PR corrects/adds missing documentation for classes in javafx.css package.
>
> modules/javafx.graphics/src/main/java/javafx/css/StyleClass.java line 60:
> 
>> 58: 
>> 59:     /**
>> 60:      * Returns the index of this StyleClass in styleClasses list.
> 
> Where is the `styleClasses` list defined? This may be beyond the scope of this fix, so a follow-on issue could be filed. At the least, you should add "the" before "styleClasses".

Added "the" as suggested.
I have reused the text existing near private member. Hence, do not know the exact context. I have filed [JDK-8271326](https://bugs.openjdk.java.net/browse/JDK-8271326) for this.

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

PR: https://git.openjdk.java.net/jfx/pull/589


More information about the openjfx-dev mailing list