[jfx18] RFR: 8271085: TabPane: Redundant API docs

Ajit Ghaisas aghaisas at openjdk.java.net
Wed Feb 9 09:33:15 UTC 2022


On Mon, 7 Feb 2022 16:24:46 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> This is a Javadoc cleanup and correction fix for the TabPane as described in the JBS.
>> 
>> Changes done for all the Properties of the TabPane -
>> - Moved the property description to be over the property field.
>> - Removed the unnecessary docs on property setter/getter and Property method.
>
> modules/javafx.controls/src/main/java/javafx/scene/control/TabPane.java line 188:
> 
>> 186:      * the TabPane will immediately update the location of the tabs to reflect
>> 187:      * this.</p>
>> 188:      * The default position for the tabs is {@code Side.Top}.
> 
> Ordinarily we would use a `@defaultValue` tag here. In this case, you are just moving existing docs from one method to another, so it could be done in a follow-up bug. Can you file a follow-up bug?

I have fixed it as part of this PR itself.

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

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


More information about the openjfx-dev mailing list