Skip to content

Inline StatusUtil into StatusDialog in xml compare examples#2624

Open
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:cleanup/compare-examples-statusutil
Open

Inline StatusUtil into StatusDialog in xml compare examples#2624
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:cleanup/compare-examples-statusutil

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 19, 2026

Summary

  • StatusUtil#applyToStatusLine(MessageLine, IStatus) had a single caller (StatusDialog#updateStatus); the other three public methods (getMoreSevere, getMostSevere, applyToStatusLine(DialogPage, IStatus)) had no callers anywhere in the repository.
  • Inline the single live method into the caller and delete StatusUtil entirely. Dead-code removal with no behavior change.
  • Scope limited to org.eclipse.compare.examples.xml (example bundle).

Test plan

  • mvn clean verify -Pbuild-individual-bundles -DskipTests in team/examples/org.eclipse.compare.examples.xml — BUILD SUCCESS.
  • CI smoke test of the XML compare example dialogs.

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 19, 2026

Test Results

    51 files  ±0      51 suites  ±0   36m 44s ⏱️ -22s
 4 555 tests ±0   4 533 ✅ +4   22 💤 ±0  0 ❌  - 4 
12 261 runs  ±0  12 105 ✅ +4  156 💤 ±0  0 ❌  - 4 

Results for commit 4085644. ± Comparison against base commit 9e8a07f.

♻️ This comment has been updated with latest results.

@vogella vogella force-pushed the cleanup/compare-examples-statusutil branch from ba1d014 to 640b6ca Compare April 20, 2026 09:04
StatusUtil#applyToStatusLine(MessageLine, IStatus) had a single caller
(StatusDialog#updateStatus); the other public methods
(getMoreSevere, getMostSevere, applyToStatusLine(DialogPage, IStatus))
had no callers in the repository. Inline the live method into the one
caller and delete the class.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vogella vogella force-pushed the cleanup/compare-examples-statusutil branch from 640b6ca to 4085644 Compare April 20, 2026 13:22
@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Apr 21, 2026

No idea why this is failing. Maybe related to eclipse-platform/eclipse.platform.releng.aggregator#3784?

1 similar comment
@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Apr 21, 2026

No idea why this is failing. Maybe related to eclipse-platform/eclipse.platform.releng.aggregator#3784?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant