RFR: 8273299: Unnecessary Vector usage in java.security.jgss

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Thu Sep 2 18:58:49 UTC 2021


Usage of thread-safe collection Vector is unnecessary. It's recommended to use ArrayList if a thread-safe implementation is not needed.

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

Commit messages:
 - [PATCH] Unnecessary Vector usage in java.security.jgss

Changes: https://git.openjdk.java.net/jdk/pull/5264/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5264&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273299
  Stats: 93 lines in 12 files changed: 2 ins; 2 del; 89 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5264.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5264/head:pull/5264

PR: https://git.openjdk.java.net/jdk/pull/5264



More information about the security-dev mailing list