# HG changeset patch # User rupashka # Date 1314695233 -14400 # Node ID 560001064c495d5a6899c63dd6e52b01dd28ab8f # Parent fb28887eb9f24e16daf91e7cfc69c4ae4f39a019 7080281: AbtsractButton.checkVerticalKey()/checkHorizontalKey() methods do not specify returned value Reviewed-by: alexp diff -r fb28887eb9f2 -r 560001064c49 jdk/src/share/classes/javax/swing/AbstractButton.java --- a/jdk/src/share/classes/javax/swing/AbstractButton.java Mon Aug 29 16:25:04 2011 +0400 +++ b/jdk/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 */