RFR: 8354791: Use Hashtable.putIfAbsent in CSS constructor

Alexey Ivanov aivanov at openjdk.org
Wed Apr 16 12:46:48 UTC 2025


On Tue, 12 Nov 2024 09:13:07 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> We can use Hashtable.putIfAbsent instead of pair `get`/`put` methods.
> It's faster and cleaner.

Marked as reviewed by aivanov (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22032#pullrequestreview-2772382527


More information about the client-libs-dev mailing list