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

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

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                alexsch Alexander Scherbatiy (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: