Skip to content

Commit 3af4efd

Browse files
author
Pankaj Bansal
committedMay 8, 2021
8265291: Error in Javadoc for doAccessibleAction API in AccessibleJSlider class
Reviewed-by: azvegint, jdv
1 parent be4f25b commit 3af4efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/java.desktop/share/classes/javax/swing/JSlider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ public String getAccessibleActionDescription(int i) {
15881588
* @param i zero-based index of actions. The first action
15891589
* (index 0) is AccessibleAction.INCREMENT and the second
15901590
* action (index 1) is AccessibleAction.DECREMENT.
1591-
* @return true.
1591+
* @return true if the action was performed, otherwise false
15921592
* @see #getAccessibleActionCount
15931593
*/
15941594
public boolean doAccessibleAction(int i) {

0 commit comments

Comments
 (0)
Please sign in to comment.