Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4119648

DMTreeNode spec needs to be corrected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.2.0
    • docs
    • 1.2beta4
    • generic
    • generic
    • Verified

      java.awt.swing.tree.DefaultMutableTreeNode spec needs to be corrected:
      1. hyperlink from field allowsChildren points at method allowsChildren()
         and vise versa. -- fixed
      2. Wrong name of required parameter in comments for add() method --fixed
      3. Short descriptions of methods
      getDepth(), getLevel(), isNodeAncestor()
      getFirstLeaf(), isNodeSibling(), isNodeDescendant()
         end with "i.e." -- fixed. thanks for catching it
      4. Not clear description of methods getNextLeaf() and getPreviosLeaf()
         --extensive commentary added. should now be clear.
      5. There is no comment for getPathToRoot()
         --fixed (note: this should really be named getPathFROMroot().
      6. Misspelling ("iff" instead of "if")
         --fixed

            earmstrosunw Eric Armstrong (Inactive)
            vsizikov Vladimir Sizikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: