Skip to content

Clean Code for update/org.eclipse.update.configurator #1954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eclipse-platform-bot
Copy link
Contributor

The following cleanups were applied:

  • Add final modifier to private fields
  • Add missing '@Deprecated' annotations
  • Add missing '@Override' annotations
  • Add missing '@Override' annotations to implementations of interface methods
  • Convert control statement bodies to block
  • Make inner classes static where possible
  • Remove trailing white spaces on all lines
  • Remove unnecessary array creation for varargs
  • Remove unnecessary suppress warning tokens
  • Remove unused imports
  • Replace deprecated calls with inlined content where possible
  • Use pattern matching for instanceof

Copy link
Contributor

github-actions bot commented Jun 13, 2025

Test Results

 1 920 files   -  27   1 920 suites   - 27   1h 32m 47s ⏱️ + 1m 16s
 4 717 tests ±  0   4 692 ✅  -   1   24 💤 ±0  1 ❌ +1 
13 998 runs   - 153  13 830 ✅  - 154  167 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 742066b. ± Comparison against base commit 731e745.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are fine except for the removal of the warning suppressions. I was not able to take a long into why they are erroneously removed yet.

@laeubi
Copy link
Contributor

laeubi commented Jun 16, 2025

The changes are fine except for the removal of the warning suppressions. I was not able to take a long into why they are erroneously removed yet.

@jjohnstn do you have a hint why they are removed?

@HeikoKlare
Copy link
Contributor

I forgot to mentioned that I have already created a JDT issue:

The problem only occurs with "removal" suppressions, not with "deprecation" and the like.

@eclipse-platform-bot eclipse-platform-bot force-pushed the clean-code/update/org.eclipse.update.configurator branch 4 times, most recently from 3900686 to 17feac1 Compare June 20, 2025 04:13
@laeubi laeubi force-pushed the clean-code/update/org.eclipse.update.configurator branch from 17feac1 to 742066b Compare June 20, 2025 09:31
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.

3 participants