Mercurial > hg > jdk9-shenandoah > jdk
changeset 2779:a463040967f2
6606019: NPE and IAE are interchanged in specification for GroupLayout.Group class
Reviewed-by: rupashka
author | alexp |
---|---|
date | Fri, 17 Sep 2010 23:00:34 +0400 |
parents | e2050786c3ce |
children | cdd64925de04 |
files | src/share/classes/javax/swing/GroupLayout.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/javax/swing/GroupLayout.java Fri Sep 17 22:50:44 2010 +0400 +++ b/src/share/classes/javax/swing/GroupLayout.java Fri Sep 17 23:00:34 2010 +0400 @@ -1464,8 +1464,8 @@ * <= {@code pref} <= {@code max}. * <p> * Similarly any methods that take a {@code Component} throw a - * {@code NullPointerException} if passed {@code null} and any methods - * that take a {@code Group} throw an {@code IllegalArgumentException} if + * {@code IllegalArgumentException} if passed {@code null} and any methods + * that take a {@code Group} throw an {@code NullPointerException} if * passed {@code null}. * * @see #createSequentialGroup