On Thu, 24 Apr 2025 14:53:20 GMT, Andrey Turbanov <aturba...@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 <aturba...@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

Reply via email to