NamespaceContext.getPrefixes should return Iterator<String>

XMLWordPrintable

    • Type: Bug
    • Resolution: Future Project
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: xml
    • x86
    • linux

      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>.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: