Integrated: 8354791: Use Hashtable.putIfAbsent in CSS constructor
Andrey Turbanov
aturbanov at openjdk.org
Wed Apr 30 11:31:55 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.
This pull request has now been integrated.
Changeset: 0110acaa
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0110acaa9086e5adb49be4fff06d66f96b821119
Stats: 6 lines in 1 file changed: 0 ins; 4 del; 2 mod
8354791: Use Hashtable.putIfAbsent in CSS constructor
Reviewed-by: serb, aivanov
-------------
PR: https://git.openjdk.org/jdk/pull/22032
More information about the client-libs-dev
mailing list