Integrated: 8357688: Remove unnecessary List.get before remove in PopupFactory

Andrey Turbanov aturbanov at openjdk.org
Thu Jun 5 20:22:57 UTC 2025


On Sat, 17 May 2025 07:42:59 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Instead of separate List.get+List.remove calls we can use single `removeFirst`. It's clearer.

This pull request has now been integrated.

Changeset: 15178aa2
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/15178aa298e43be3e27121343432f25884db4e5d
Stats:     13 lines in 1 file changed: 0 ins; 6 del; 7 mod

8357688: Remove unnecessary List.get before remove in PopupFactory

Reviewed-by: azvegint, kizune, serb

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

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


More information about the client-libs-dev mailing list