On Thu, 24 Apr 2025 09:29:24 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> No need to call `List.indexOf(Object)` before `List.remove(int)`. Instead we > can call `List.remove(Object)` directly. It's faster and cleaner. > `invalidComponents` is an ArrayList. Marked as reviewed by serb (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/24845#pullrequestreview-3018341187