RFR: 8290278: JavaDoc of index parameter of method JTabbedPane.insertTab [v2]

Tejesh R tr at openjdk.org
Thu Jul 28 06:51:50 UTC 2022


On Wed, 27 Jul 2022 19:13:11 GMT, Phil Race <prr at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updated as per Review Comments
>
> src/java.desktop/share/classes/javax/swing/JTabbedPane.java line 726:
> 
>> 724:      * @param index the position to insert this new tab
>> 725:      *       {@code (index >= 0 && index <= tab count)}
>> 726:      *
> 
> Now you've made it more like code, except for less like code by changing getTabCount() to tab count.
> 
> I suggest
> * @param index the position to insert this new tab
> * where {@code (index >= 0 && index <= getTabCount())}

Updated @prrace .......

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

PR: https://git.openjdk.org/jdk/pull/9496



More information about the client-libs-dev mailing list