RFR: 8356846: Remove unnecessary List.contains key from TIFFDirectory.removeTagSet

Andrey Turbanov aturbanov at openjdk.org
Tue May 13 08:53:38 UTC 2025


There is no need to call List.contains before List.remove call.
`tagSets` - is an ArrayList.

-------------

Commit messages:
 - [PATCH] Remove unnecessary List.contains key from TIFFDirectory.removeTagSet

Changes: https://git.openjdk.org/jdk/pull/24816/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24816&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356846
  Stats: 5 lines in 1 file changed: 0 ins; 3 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/24816.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24816/head:pull/24816

PR: https://git.openjdk.org/jdk/pull/24816


More information about the client-libs-dev mailing list