Unnecessary Hashtable usage in javax.swing.text.html.parser.Element

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 25
    • Affects Version/s: None
    • Component/s: client-libs

      There is a field 'javax.swing.text.html.parser.Element.contentTypes' which uses legacy Hashtable class.
      As this map is read-only and all its content is initialized in <clinit> we can safely use immutable Map instead.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: