8037573: Typo in DefaultTreeModel docs: askAllowsChildren instead of asksAllowsChildren

Reviewed-by: prr, jdv, azvegint
This commit is contained in:
Prasanta Sadhukhan 2022-02-18 04:56:05 +00:00
parent fdce35f3a1
commit a22f422b7f

View File

@ -204,7 +204,7 @@ public class DefaultTreeModel implements Serializable, TreeModel {
/**
* Returns whether the specified node is a leaf node.
* The way the test is performed depends on the
* <code>askAllowsChildren</code> setting.
* <code>asksAllowsChildren</code> setting.
*
* @param node the node to check
* @return true if the node is a leaf node