Clean Code for ui/org.eclipse.pde.launching#2194
Conversation
|
This pull request changes some projects for the first time in this development cycle. 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 patchFurther information are available in Common Build Issues - Missing version increments. |
Test Results 36 files - 90 36 suites - 90 19s ⏱️ - 34m 20s Results for commit 71338ac. ± Comparison against base commit af2b487. This pull request removes 3484 tests.♻️ This comment has been updated with latest results. |
7762676 to
647e5f3
Compare
HannesWell
left a comment
There was a problem hiding this comment.
@laeubi this also causes compiler errors:
Error: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:5.0.2:compile (default-compile) on project org.eclipse.pde.launching: Compilation failure: Compilation failure:
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[1]
Error: /*******************************************************************************
Error: ^
Error: The type aQute.bnd.osgi.Analyzer cannot be resolved. It is indirectly referenced from required type org.eclipse.pde.internal.core.bnd.PdeProjectAnalyzer
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[235]
Error: try (PdeProjectAnalyzer analyzer = new PdeProjectAnalyzer(javaProject.getProject(), true)) {
Error: ^^^^^^^^^^^^^^^^^^
Error: The resource type PdeProjectAnalyzer does not implement java.lang.AutoCloseable
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[236]
Error: analyzer.setImportPackage("*"); //$NON-NLS-1$
Error: ^^^^^^^^
Error: The type PdeProjectAnalyzer is not visible
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[238]
Error: analyzer.setBundleSymbolicName(bsn);
Error: ^^^^^^^^
Error: The type PdeProjectAnalyzer is not visible
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[239]
Error: analyzer.set(Constants.FRAGMENT_HOST, testPlugin.getId());
Error: ^^^^^^^^
Error: The type PdeProjectAnalyzer is not visible
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[240]
Error: analyzer.set(Constants.BUNDLE_ACTIVATIONPOLICY, Constants.ACTIVATION_LAZY);
Error: ^^^^^^^^
Error: The type PdeProjectAnalyzer is not visible
Error: /home/runner/work/eclipse.pde/eclipse.pde/ui/org.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java:[241]
Error: Manifest calcManifest = analyzer.calcManifest();
Error: ^^^^^^^^
Error: The type PdeProjectAnalyzer is not visible
Error: [ERROR] 7 problems (7 errors)
4eac563 to
9611233
Compare
11e4bd1 to
71338ac
Compare
The following cleanups were applied:
The following Manifest cleanups where applied: