<i18n dev> RFR: 8356843: Avoid redundant HashMap.get to obtain old value in Toolkit.setDesktopProperty
    Andrey Turbanov 
    aturbanov at openjdk.org
       
    Tue May 13 08:15:32 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.
It's `final`. What kind of problems can be from `protected` field?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24691#issuecomment-2810188669
    
    
More information about the i18n-dev
mailing list