Unnecessary HashTable usage in StyleSheet

XMLWordPrintable

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

      There is a field 'javax.swing.text.html.StyleSheet.SearchBuffer.hashtable' which uses legacy Hashtable class.
      It's used only from single thread. And only non-null key/values added to it. We can safely replace it with HashSet.

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

              Created:
              Updated:
              Resolved: