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

Change TreeNode.children() return type from the Enumeration to Enumeration<TreeNode>

XMLWordPrintable

      This issue is rised from the JDK 8 Warnings Cleanup Day
      issue 7116950 Reduce number of warnings in swing

      To reduce number of the JDk warning in the swing area it needs to change the TreeNode.children() return type from the Enumeration to Enumeration<TreeNode> and update the children() method usage from Enumeration children = node.children(); to Enumeration<TreeNode> children = node.children();

      It allows to change return type for some methods of the DefaultMutableTreeNode from Enumeration to Enumeration<TreeNode>
      The request about API change should be sent.

            psadhukhan Prasanta Sadhukhan
            alexsch Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: