<Swing Dev> Code review request for javadoc fix to LayerUI.java

Joe Darcy joe.darcy at oracle.com
Tue Apr 12 06:23:54 UTC 2011


Hi Pavel.

Fix pushed under 7035834 "Bad @param tags in LayerUI.java."

Thanks,

-Joe

Pavel Porvatov wrote:
> Hi Joe,
>
> Alexander will be absent several days. I approved the fix...
>
> Regards, Pavel
>> Hello.
>>
>> While doing a docs build, I ran across a mismatch between the names 
>> of two methods parameters in the javadoc and the code of 
>> LayerUI.java; the patch is  below.
>>
>> Please review the change; if you approve it, I'll create a bug and 
>> push the fix through TL.
>>
>> Cheers,
>>
>> -Joe
>>
>> --- a/src/share/classes/javax/swing/plaf/LayerUI.java
>> +++ b/src/share/classes/javax/swing/plaf/LayerUI.java
>> @@ -710,8 +710,8 @@
>>      *
>>      * @param x  the x value of the region to be painted
>>      * @param y  the y value of the region to be painted
>> -     * @param w  the width of the region to be painted
>> -     * @param h  the height of the region to be painted
>> +     * @param width  the width of the region to be painted
>> +     * @param heigth  the height of the region to be painted
>>      *
>>      * @see JComponent#paintImmediately(int, int, int, int)
>>      */
>>
>




More information about the swing-dev mailing list