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

Unnecessary Hashtable usage in CSS.styleConstantToCssMap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 25
    • None
    • client-libs

      There is a field 'javax.swing.text.html.CSS#styleConstantToCssMap' 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.

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

              Created:
              Updated:
              Resolved: