changeset 4532:22c60997bf3c

7080281: AbtsractButton.checkVerticalKey()/checkHorizontalKey() methods do not specify returned value Reviewed-by: alexp
author rupashka
date Tue, 30 Aug 2011 13:07:13 +0400
parents e05ea8ab1807
children 970ff8d5bbe7
files src/share/classes/javax/swing/AbstractButton.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/AbstractButton.java	Mon Aug 29 16:25:04 2011 +0400
+++ b/src/share/classes/javax/swing/AbstractButton.java	Tue Aug 30 13:07:13 2011 +0400
@@ -981,6 +981,7 @@
      * @param exception the message to use in the
      *        {@code IllegalArgumentException} that is thrown for an invalid
      *        value
+     * @return the {@code key} argument
      * @exception IllegalArgumentException if key is not one of the legal
      *            values listed above
      * @see #setHorizontalTextPosition
@@ -1011,6 +1012,7 @@
      * @param exception the message to use in the
      *        {@code IllegalArgumentException} that is thrown for an invalid
      *        value
+     * @return the {@code key} argument
      * @exception IllegalArgumentException if key is not one of the legal
      *            values listed above
      */