Skip to content

refactor: Move HasOrderedComponents methods to HasComponents and deprecate HasOrderedComponents#23832

Merged
mshabarov merged 5 commits into24.10from
backport-23773-24.10
Mar 11, 2026
Merged

refactor: Move HasOrderedComponents methods to HasComponents and deprecate HasOrderedComponents#23832
mshabarov merged 5 commits into24.10from
backport-23773-24.10

Conversation

@TatuLund
Copy link
Copy Markdown
Contributor

@TatuLund TatuLund commented Mar 11, 2026

Backport of #23773 to 24.10

…ecate HasOrderedComponents

Added a method to get child components of a parent component.
Refactored getChildren method to use ComponentUtil for child retrieval.
Added a method to replace components in the container, allowing for swapping and handling null cases.
The HasOrderedComponents interface is marked as deprecated and its methods have been removed for backward compatibility. This change prepares for its removal in future versions.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 11, 2026

Test Results

1 284 files  ± 0  1 284 suites  ±0   1h 17m 12s ⏱️ - 2m 13s
8 815 tests ± 0  8 752 ✅ ± 0  63 💤 ±0  0 ❌ ±0 
9 131 runs   - 97  9 062 ✅  - 94  69 💤  - 3  0 ❌ ±0 

Results for commit af619d7. ± Comparison against base commit 046949a.

♻️ This comment has been updated with latest results.

Comment thread flow-server/src/main/java/com/vaadin/flow/component/HasOrderedComponents.java Outdated
@mshabarov mshabarov enabled auto-merge (squash) March 11, 2026 11:14
@sonarqubecloud
Copy link
Copy Markdown

@mshabarov mshabarov merged commit ca92d7f into 24.10 Mar 11, 2026
27 of 29 checks passed
@mshabarov mshabarov deleted the backport-23773-24.10 branch March 11, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants