RFR: 8343418: Unnecessary Hashtable usage in CSS.htmlAttrToCssAttrMap [v3]

Harshitha Onkar honkar at openjdk.org
Mon Dec 2 17:20:40 UTC 2024


On Wed, 6 Nov 2024 19:17:39 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Replaced to use immutable Map. It fits even better because it has the same null handling as Hashtable - it throw NPE in get/containsKey methods.

Replacement with immutable Map sounds reasonable in the given context. LGTM

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21785#issuecomment-2512207938


More information about the client-libs-dev mailing list