Skip to content

Clean Code for ds/org.eclipse.pde.ds.tck#2178

Open
eclipse-pde-bot wants to merge 1 commit intomasterfrom
clean-code/ds/org.eclipse.pde.ds.tck
Open

Clean Code for ds/org.eclipse.pde.ds.tck#2178
eclipse-pde-bot wants to merge 1 commit intomasterfrom
clean-code/ds/org.eclipse.pde.ds.tck

Conversation

@eclipse-pde-bot
Copy link
Copy Markdown
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
  • Remove unused private constructors
  • Remove unused private fields
  • Remove unused private methods
  • Remove unused private types
  • Replace deprecated calls with inlined content where possible
  • Use pattern matching for instanceof

The following Manifest cleanups where applied:

  • Calculate 'uses' directive for public packages
  • Remove unused dependencies

@eclipse-eca-validation
Copy link
Copy Markdown

Hi @eclipse-pde-bot — thank you for your contribution!

The Eclipse Contributor Agreement (ECA) check has failed for this pull request due to one of the following reasons:

  • An Eclipse Contributor Agreement is required for Eclipse user 'genie.pde'(committer).
  • An Eclipse Contributor Agreement is required for Eclipse user 'genie.pde'(author).

To resolve this, please:

  1. Sign in or create an Eclipse Foundation account: https://accounts.eclipse.org/user/eca
  2. Ensure your GitHub username is linked to your Eclipse account
  3. Complete and submit the ECA form

Once done, push a new commit (or rebase) to re-trigger the ECA validation.

If you believe you've already completed these steps, please double-check your account settings or report an issue to Eclipse Foundation Helpdesk.

Thanks again for your contribution!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 17, 2026

Test Results

  126 files  ±0    126 suites  ±0   37m 32s ⏱️ +19s
3 502 tests ±0  3 448 ✅ ±0   54 💤 ±0  0 ❌ ±0 
9 321 runs  ±0  9 191 ✅ ±0  130 💤 ±0  0 ❌ ±0 

Results for commit 5d5de3d. ± Comparison against base commit 0ca2373.

♻️ This comment has been updated with latest results.

@eclipse-pde-bot eclipse-pde-bot force-pushed the clean-code/ds/org.eclipse.pde.ds.tck branch 3 times, most recently from ea4d800 to 5919c6f Compare January 20, 2026 13:42
@eclipse-pde-bot eclipse-pde-bot force-pushed the clean-code/ds/org.eclipse.pde.ds.tck branch 3 times, most recently from d7641d8 to 716318d Compare March 6, 2026 03:20
@eclipse-pde-bot eclipse-pde-bot force-pushed the clean-code/ds/org.eclipse.pde.ds.tck branch from 716318d to 5d5de3d Compare April 28, 2026 03:22
@akurtakov akurtakov requested a review from Copilot April 28, 2026 05:20
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Cleans up the org.eclipse.pde.ds.tck bundle metadata as part of broader formatting/dependency hygiene for the DS TCK project.

Changes:

  • Removes the Import-Package header from the DS TCK bundle manifest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 5 to 6
Bundle-Version: 1.0.0.qualifier
Import-Package: org.osgi.framework,
org.osgi.service.component,
org.osgi.service.component.propertytypes,
org.osgi.service.log
Service-Component: OSGI-INF/org.osgi.impl.bundle.component.annotations.HelloWorld10.xml,
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

Removing the Import-Package header entirely means this bundle will not be wired to any org.osgi.* packages at runtime. Since this project unpacks and builds the OSGi DS annotations TCK sources during the Maven build (see pom.xml unpack-dependencies + PDE build), the compiled classes are very likely to reference org.osgi.framework / DS / Log APIs and will fail with ClassNotFoundException at runtime if these packages are not imported. Please restore the required Import-Package entries (or switch to an automated manifest generation approach that computes them from the built classes) so the bundle resolves its API dependencies correctly.

Copilot uses AI. Check for mistakes.
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