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

Pavel Porvatov pavel.porvatov at oracle.com
Tue Apr 12 05:55:29 UTC 2011


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