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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • None
    • client-libs

      There is a field 'javax.swing.text.html.parser.Entity.entityTypes' 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:
            2 Start watching this issue

              Created:
              Updated: