提交 666a9d7f 编写于 作者: A alexp

6606019: NPE and IAE are interchanged in specification for GroupLayout.Group class

Reviewed-by: rupashka
上级 a5ce3333
......@@ -1464,8 +1464,8 @@ public class GroupLayout implements LayoutManager2 {
* <= {@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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册