Integrated: 8287766: Unnecessary Vector usage in LdapClient
Andrey Turbanov
aturbanov at openjdk.java.net
Mon Jun 6 21:18:13 UTC 2022
On Sun, 29 May 2022 20:22:55 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> In [JDK-8273098](https://bugs.openjdk.java.net/browse/JDK-8273098) I missed one place, where Vector could be replaced with ArrayList.
> Usage of thread-safe collection `Vector` is unnecessary. It's recommended to use `ArrayList` if a thread-safe implementation is not needed.
This pull request has now been integrated.
Changeset: 3eb49fec
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/3eb49feceabe8253b78b794a3d8fdc0556d8f2e2
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
8287766: Unnecessary Vector usage in LdapClient
Reviewed-by: dfuchs, vtewari, aefimov
-------------
PR: https://git.openjdk.java.net/jdk/pull/8940
More information about the core-libs-dev
mailing list