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

Joe Darcy joe.darcy at oracle.com
Mon Apr 11 15:27:59 UTC 2011


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