RFR: 8354791: Use Hashtable.putIfAbsent in CSS constructor

Andrey Turbanov aturbanov at openjdk.org
Thu Apr 24 14:54:49 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.

Any more reviews ?

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

PR Comment: https://git.openjdk.org/jdk/pull/22032#issuecomment-2827930887


More information about the client-libs-dev mailing list