Integrated: 8289431: (zipfs) Avoid redundant HashMap.get in ZipFileSystemProvider.removeFileSystem
Andrey Turbanov
aturbanov at openjdk.org
Mon Jul 4 06:57:01 UTC 2022
On Tue, 28 Jun 2022 21:07:41 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.
This pull request has now been integrated.
Changeset: 8e7a3cb5
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8e7a3cb5ab3852f0c367c8807d51ffbec2d0ad49
Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod
8289431: (zipfs) Avoid redundant HashMap.get in ZipFileSystemProvider.removeFileSystem
Reviewed-by: lancea, attila
-------------
PR: https://git.openjdk.org/jdk/pull/9314
More information about the core-libs-dev
mailing list