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

NamespaceContext.getPrefixes should return Iterator<String>

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Future Project
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      javax.xml.namespace.NamespaceContext.getPrefixes(String) is defined to return raw Iterator, with the Javadoc "An Iterator over String elements is returned...".

      It should rather be declared to return Iterator<String>.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jglick Jesse Glick (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: