OpenJDK / portola / portola
changeset 6648:6b796dace707
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 | 9d119d6c36b9 |
children | 3a9910603ab2 |
files | jdk/src/share/classes/javax/swing/GroupLayout.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/javax/swing/GroupLayout.java Fri Sep 17 22:50:44 2010 +0400 +++ b/jdk/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