On Sat, 28 Jan 2023 14:54:38 GMT, Andrey Turbanov <[email protected]> wrote:

> There is only add/iterator calls on this list. No removes from the head or 
> something like this. Not sure why LinkedList was used, but ArrayList should 
> be preferred as more efficient and widely used (more chances for JIT) 
> collection

Personal preference is that the variables are typed as `List<T> xyz = new 
ArrayList<>();`.

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

Marked as reviewed by [email protected] (no known OpenJDK username).

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

Reply via email to