RFR: 8289431: (zipfs) Avoid redundant HashMap.get in ZipFileSystemProvider.removeFileSystem [v2]
Andrey Turbanov
aturbanov at openjdk.org
Wed Jun 29 08:20:31 UTC 2022
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/9314/files
- new: https://git.openjdk.org/jdk/pull/9314/files/5a83b10c..d9eeaebe
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=9314&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=9314&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/9314.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9314/head:pull/9314
PR: https://git.openjdk.org/jdk/pull/9314
More information about the core-libs-dev
mailing list