RFR: 8362067: Remove unnecessary List.contains key from SpringLayout.Constraints.pushConstraint [v2]
Andrey Turbanov
aturbanov at openjdk.org
Fri Aug 1 20:12:36 UTC 2025
> 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.
Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
expand star import
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24852/files
- new: https://git.openjdk.org/jdk/pull/24852/files/2667de76..57bb716c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24852&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24852&range=00-01
Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/24852.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24852/head:pull/24852
PR: https://git.openjdk.org/jdk/pull/24852
More information about the client-libs-dev
mailing list