Typo in DefaultTreeModel docs: askAllowsChildren instead of asksAllowsChildren

XMLWordPrintable

    • Type: CSR
    • Resolution: Withdrawn
    • Priority: P4
    • 19
    • Component/s: client-libs
    • None
    • behavioral
    • minimal
    • Typo doc change...no code change.
    • Java API
    • SE

      Summary

      DefaultTreeModel.html#isLeaf refers to an "askAllowsChildren" attribute that doesn't exist which should point to "asksAllowsChildren"

      Problem

      DefaultTreeModel.html#isLeaf refers to an "askAllowsChildren" attribute that doesn't exist

      Solution

      DefaultTreeModel.html#isLeaf should point to "asksAllowsChildren" attribute.

      Specification

      share/classes/javax/swing/tree/DefaultTreeModel.java

        /**
            * 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
      

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: