Repository navigation
Suppress deprecation warnings and update deprecated API calls - #7321
Merged
Merged
Conversation
chrisrueger
force-pushed
the
7316-fix-warnings
branch
3 times, most recently
from
July 18, 2026 12:07
9c430be to
bf07944
Compare
Contributor
Author
Summary
The remaining warning is from bnd which I'd prefer to adresse separatly (not sure how long this exists) @bjhargrave a review would be nice. Latests build output is https://github.com/bndtools/bnd/actions/runs/29644334080/job/88079918888 I can squash commits after review. |
chrisrueger
marked this pull request as ready for review
July 18, 2026 12:41
bjhargrave
approved these changes
Jul 20, 2026
chrisrueger
force-pushed
the
7316-fix-warnings
branch
from
July 20, 2026 19:16
575f370 to
8c7316f
Compare
Add @SuppressWarnings annotations for deprecated and removal APIs across multiple modules. Update ExtendedFormEditor to use current JFaceResources API methods (destroy/create instead of destroyImage/createImage). Remove deprecated servicefactory parameter from Component annotation in test. fix gradle-plugin warnings fix JUnit deprecation warning Update ArgumentsProvider to match JUnit 5.10+ API JUnit Jupiter's ArgumentsProvider interface changed to include a ParameterDeclarations parameter in the provideArguments method. Update three test classes that implement custom argument providers to match the new signature. try to fix maven deprecation warnings Replace Maven @component with @Inject in Maven plugins Update all Maven plugin mojos to use standard JSR-330 @Inject annotation instead of Maven-specific @component annotation. This removes the warnings and uses the dependency injection approach to use standard Java conventions supported by Maven 3.9+. See https://maven.apache.org/maven-jsr330.html#how-to-use-jsr-330-in-plugins Clean up resource management and remove unused code Wrap P2Indexer instantiations in try-with-resources for proper cleanup, remove unused imports Changes: - Wrap P2Indexer objects in try-with-resources blocks to ensure cleanup - Move AssertJ SoftAssertions imports to group with test configuration - Remove unused imports (java.util.Map, org.apache.maven.project.MavenProjectHelper) - Remove unused FEATURE_PATTERN constant from R5LabelFormatter - Fix minor whitespace inconsistencies Signed-off-by: Christoph Rueger <[email protected]>
chrisrueger
force-pushed
the
7316-fix-warnings
branch
from
July 20, 2026 19:17
8c7316f to
1029bfb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7316
Add
@SuppressWarningsannotations for deprecated and removal APIs across multiple modules. Update ExtendedFormEditor to use current JFaceResources API methods (destroy/create instead of destroyImage/createImage). Remove deprecated servicefactory parameter from Component annotation in test.