Skip to content

Commit a22f422

Browse files
committedFeb 18, 2022
8037573: Typo in DefaultTreeModel docs: askAllowsChildren instead of asksAllowsChildren
Reviewed-by: prr, jdv, azvegint
1 parent fdce35f commit a22f422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/java.desktop/share/classes/javax/swing/tree/DefaultTreeModel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public int getChildCount(Object parent) {
204204
/**
205205
* Returns whether the specified node is a leaf node.
206206
* The way the test is performed depends on the
207-
* <code>askAllowsChildren</code> setting.
207+
* <code>asksAllowsChildren</code> setting.
208208
*
209209
* @param node the node to check
210210
* @return true if the node is a leaf node

0 commit comments

Comments
 (0)
Please sign in to comment.