mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-22 08:21:27 +00:00
7080281: AbtsractButton.checkVerticalKey()/checkHorizontalKey() methods do not specify returned value
Reviewed-by: alexp
This commit is contained in:
parent
1dbae5e7cf
commit
dd72eca1bc
@ -981,6 +981,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
|
||||
* @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 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
|
||||
* @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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user