<i18n dev> Integrated: 8357224: Avoid redundant WeakHashMap.get in Toolkit.removeAWTEventListener
Andrey Turbanov
aturbanov at openjdk.org
Wed May 21 08:43:03 UTC 2025
On Wed, 16 Apr 2025 15:07:36 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> Instead of separate `.get`+`.remove` calls we can call `.remove` and then compare result with `null`
This pull request has now been integrated.
Changeset: a0cdf36b
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a0cdf36bdfeca9cd8b669859700d63d5ee627458
Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod
8357224: Avoid redundant WeakHashMap.get in Toolkit.removeAWTEventListener
Reviewed-by: liach, aivanov, serb
-------------
PR: https://git.openjdk.org/jdk/pull/24692
More information about the i18n-dev
mailing list