RFR: 8289431: (zipfs) Avoid redundant HashMap.get in ZipFileSystemProvider.removeFileSystem [v2]
Andrey Turbanov
aturbanov at openjdk.org
Mon Jul 4 06:57:00 UTC 2022
On Wed, 29 Jun 2022 08:20:31 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
>> There is overload method HashMap.remove(key,value) which also checks value equality.
>> It's shorter and faster than pair get+remove.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
>
> 8289431: (zipfs) Avoid redundant HashMap.get in ZipFileSystemProvider.removeFileSystem
> update copyright year
Thank you for review!
-------------
PR: https://git.openjdk.org/jdk/pull/9314
More information about the core-libs-dev
mailing list