<Swing Dev> RFR 8249838: javax.swing.JLayeredPane has used valueOf twice in example code in documentation
Pankaj Bansal
pankaj.b.bansal at oracle.com
Thu Aug 6 04:44:48 UTC 2020
Looks good to me
-Pankaj
On 06/08/20 9:21 AM, Prasanta Sadhukhan wrote:
>
> Hi All,
>
> Please review a doc fix where details section of JLayeredPane has used
> valueOf twice as a typo
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8249838
>
> hg diff src/java.desktop/share/classes/javax/swing/JLayeredPane.java
> diff -r cda47533b1ee
> src/java.desktop/share/classes/javax/swing/JLayeredPane.java
> --- a/src/java.desktop/share/classes/javax/swing/JLayeredPane.java Wed
> Jul 22 07:46:50 2020 -0700
> +++ b/src/java.desktop/share/classes/javax/swing/JLayeredPane.java Thu
> Aug 06 09:18:28 2020 +0530
> @@ -95,7 +95,7 @@
> * <PRE>
> * layeredPane.add(child, JLayeredPane.DEFAULT_LAYER);
> * or
> *- * layeredPane.add(child, Integer.valueOf.valueOf(10));*
> *+ * layeredPane.add(child, Integer.valueOf(10));*
> * </PRE>
> * The layer attribute can also be set on a Component by calling<PRE>
> * layeredPaneParent.setLayer(child, 10)</PRE>
>
> Regards
> Prasanta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200806/bb949992/attachment.htm>
More information about the swing-dev
mailing list