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

optimize JTree.isExpanded(row) to NOT call isExpanded(TreePath)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0_01
    • client-libs
    • beta2
    • generic
    • generic



      Name: boT120536 Date: 02/20/2001


      java version "1.3.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
      Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)

      isExpanded(int) forwards to isExpanded(TreePath)

      isExpanded(TreePath) checks if all parents are expanded.
      isExpanded(int) does not need to check this because all
      parents always are expanded for a given row.
      (Review ID: 117100)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: