<i18n dev> RFR: 8356843: Avoid redundant HashMap.get to obtain old value in Toolkit.setDesktopProperty
Sergey Bylokhov
serb at openjdk.org
Wed May 14 03:14:57 UTC 2025
On Wed, 16 Apr 2025 14:48:04 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> To obtain previous value of `HashMap` we can use result of `.put` call. In this case we can avoid redundant `.get` call.
Marked as reviewed by serb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24691#pullrequestreview-2838598416
More information about the i18n-dev
mailing list