RFR: 8348170: Unnecessary Hashtable usage in CSS.styleConstantToCssMap
Alexander Zvegintsev
azvegint at openjdk.org
Tue Jan 21 11:40:34 UTC 2025
On Thu, 16 Jan 2025 11:53:18 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> 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.
Marked as reviewed by azvegint (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/23149#pullrequestreview-2564349378
More information about the client-libs-dev
mailing list