<Swing Dev> Code review request for javadoc fix to LayerUI.java
joe.darcy at oracle.com
Mon Apr 11 23:23:54 PDT 2011
Fix pushed under 7035834 "Bad @param tags in LayerUI.java."
Pavel Porvatov wrote:
> Hi Joe,
> Alexander will be absent several days. I approved the fix...
> Regards, Pavel
>> 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.
>> --- 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