Integrated: 8362067: Remove unnecessary List.contains key from SpringLayout.Constraints.pushConstraint

Andrey Turbanov aturbanov at openjdk.org
Mon Aug 4 08:18:04 UTC 2025


On Thu, 24 Apr 2025 14:53:20 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> There is no need to call `List.contains` before `List.remove` call.
> `history` is an either `horizontalHistory` or `verticalHistory`. Both of them are ArrayList's.

This pull request has now been integrated.

Changeset: 8269fdc7
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8269fdc78ef40d8238bf1509531f5cfc25d54820
Stats:     11 lines in 1 file changed: 5 ins; 2 del; 4 mod

8362067: Remove unnecessary List.contains key from SpringLayout.Constraints.pushConstraint

Reviewed-by: aivanov

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

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


More information about the client-libs-dev mailing list