<i18n dev> RFR: 8356843: Avoid redundant HashMap.get to obtain old value in Toolkit.setDesktopProperty
Alexey Ivanov
aivanov at openjdk.org
Tue May 13 18:16: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 aivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24691#pullrequestreview-2837712897
More information about the i18n-dev
mailing list