Skip to content

Clean Code for bundles/org.eclipse.equinox.p2.ui.sdk#932

Open
eclipse-equinox-bot wants to merge 2 commits intomasterfrom
clean-code/bundles/org.eclipse.equinox.p2.ui.sdk
Open

Clean Code for bundles/org.eclipse.equinox.p2.ui.sdk#932
eclipse-equinox-bot wants to merge 2 commits intomasterfrom
clean-code/bundles/org.eclipse.equinox.p2.ui.sdk

Conversation

@eclipse-equinox-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
  • 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-equinox-bot
Copy link
Contributor Author

eclipse-equinox-bot commented Aug 4, 2025

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
features/org.eclipse.equinox.p2.rcp.feature/feature.xml
features/org.eclipse.equinox.p2.user.ui/feature.xml

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From dad43af6c2943a9967388204d5341ee4440ecca4 Mon Sep 17 00:00:00 2001
From: Eclipse Equinox Bot <equinox-bot@eclipse.org>
Date: Tue, 16 Dec 2025 04:16:21 +0000
Subject: [PATCH] Version bump(s) for 4.39 stream


diff --git a/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
index e0e13aa7c..fafc4b5f0 100644
--- a/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.p2.ui.sdk/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: %bundleName
 Bundle-SymbolicName: org.eclipse.equinox.p2.ui.sdk;singleton:=true
-Bundle-Version: 1.3.500.qualifier
+Bundle-Version: 1.3.600.qualifier
 Bundle-Activator: org.eclipse.equinox.internal.p2.ui.sdk.ProvSDKUIActivator
 Bundle-Vendor: %providerName
 Bundle-Localization: plugin
diff --git a/features/org.eclipse.equinox.p2.rcp.feature/feature.xml b/features/org.eclipse.equinox.p2.rcp.feature/feature.xml
index a7dcf8d68..d2db84556 100644
--- a/features/org.eclipse.equinox.p2.rcp.feature/feature.xml
+++ b/features/org.eclipse.equinox.p2.rcp.feature/feature.xml
@@ -2,7 +2,7 @@
 <feature
       id="org.eclipse.equinox.p2.rcp.feature"
       label="%featureName"
-      version="1.4.3000.qualifier"
+      version="1.4.3100.qualifier"
       provider-name="%providerName"
       license-feature="org.eclipse.license"
       license-feature-version="0.0.0">
diff --git a/features/org.eclipse.equinox.p2.user.ui/feature.xml b/features/org.eclipse.equinox.p2.user.ui/feature.xml
index ba059b135..5126cab7b 100644
--- a/features/org.eclipse.equinox.p2.user.ui/feature.xml
+++ b/features/org.eclipse.equinox.p2.user.ui/feature.xml
@@ -2,7 +2,7 @@
 <feature
       id="org.eclipse.equinox.p2.user.ui"
       label="%featureName"
-      version="2.4.3000.qualifier"
+      version="2.4.3100.qualifier"
       provider-name="%providerName"
       license-feature="org.eclipse.license"
       license-feature-version="0.0.0">
-- 
2.52.0

Further information are available in Common Build Issues - Missing version increments.

@github-actions
Copy link

github-actions bot commented Aug 4, 2025

Test Results

12 files   -   362  12 suites   - 362   0s ⏱️ - 41m 43s
26 tests  - 1 881  26 ✅  - 1 877  0 💤  - 3  0 ❌  - 1 
78 runs   - 6 515  78 ✅  - 6 508  0 💤  - 6  0 ❌  - 1 

Results for commit b5dd753. ± Comparison against base commit 6aa0d3e.

This pull request removes 1881 tests.
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.Bug196525 ‑ testConfigContent
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.Bug258370 ‑ testComma
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testOSGiRemoval
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testSimpleConfiguratorRemoval
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testWithMutipleBundles
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.FrameworkExtensionTest ‑ testAddRemoveFrameworkExtension
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.LauncherConfigLocationTest ‑ testCustomLauncherConfig
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.LauncherDataTest ‑ testRemoveProgramArg
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.ManipulatorTests ‑ testBug212361_osgiInBundlesList
AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.ManipulatorTests ‑ testBug258126_ProgramArgs_VMArgs
…

♻️ This comment has been updated with latest results.

@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 8 times, most recently from 9abd589 to cd564b2 Compare August 12, 2025 03:56
@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 8 times, most recently from b1c1b5b to a9ab24f Compare August 20, 2025 04:00
@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 7 times, most recently from f1fe3e5 to bc032b1 Compare August 27, 2025 03:57
@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 4 times, most recently from 260e43d to 147e7eb Compare August 31, 2025 04:00
@merks
Copy link
Contributor

merks commented Sep 3, 2025

This one seems odd, only qualifier changes. @laeubi do you know what is happening here?

Unused imports in the MANIFEST.MF were removed so qualifier-only changes look appropriate...

@laeubi
Copy link
Member

laeubi commented Sep 3, 2025

Unused imports in the MANIFEST.MF were removed so qualifier-only changes look appropriate...

Correct!

@akurtakov akurtakov force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch from 7a1d6a5 to a2369dd Compare September 27, 2025 14:03
@laeubi laeubi force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch from a2369dd to 10a7cc4 Compare October 31, 2025 04:02
org.eclipse.equinox.p2.engine.query;version="[2.0.0,3.0.0)",
org.eclipse.equinox.p2.metadata;version="[2.0.0,3.0.0)",
org.eclipse.equinox.p2.operations;version="[2.0.0,3.0.0)",
org.eclipse.equinox.p2.planner;version="2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

The method getProfileChangeRequest() from the type ProfileChangeOperation refers to the missing type IProfileChangeRequest

which is org.eclipse.equinox.p2.planner.IProfileChangeRequest from director,
see https://github.com/eclipse-equinox/p2/actions/runs/18962301156/job/54152074388?pr=932#step:6:3705

Copy link
Member

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

Error is now

The method getProfileChangeRequest() from the type ProfileChangeOperation refers to the missing type IProfileChangeRequest

Need to investigate whats going wrong here and if its PDE, JDT or Tycho ...

@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 6 times, most recently from cd2df2c to 8b66822 Compare November 15, 2025 04:00
@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 8 times, most recently from 696f83b to 3fb6029 Compare December 8, 2025 04:00
@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch 7 times, most recently from a728708 to 34cf6d4 Compare December 15, 2025 04:05
@eclipse-equinox-bot eclipse-equinox-bot force-pushed the clean-code/bundles/org.eclipse.equinox.p2.ui.sdk branch from f64205c to 1275c5f Compare December 16, 2025 04:11
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.

5 participants