Skip to content

Commit 1bd973b

Browse files
Perform clean code of bundles/org.eclipse.osgi.tests
1 parent d45517b commit 1bd973b

6 files changed

Lines changed: 6 additions & 11 deletions

File tree

bundles/org.eclipse.osgi.tests/META-INF/MANIFEST.MF

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Require-Bundle:
1111
Bundle-ActivationPolicy: lazy
1212
Import-Package: org.junit.jupiter.api;version="[5.14.0,6.0.0)",
1313
org.junit.jupiter.api.extension;version="[5.14.0,6.0.0)",
14-
org.junit.jupiter.api.function;version="[5.14.0,6.0.0)",
1514
org.junit.jupiter.api.io;version="[5.14.0,6.0.0)",
1615
org.junit.platform.suite.api;version="[1.14.0,2.0.0)",
1716
org.osgi.service.event,
@@ -20,11 +19,7 @@ Import-Package: org.junit.jupiter.api;version="[5.14.0,6.0.0)",
2019
org.osgi.util.position,
2120
org.osgi.util.promise,
2221
org.osgi.util.xml
23-
Export-Package: org.eclipse.osgi.tests.appadmin;
24-
uses:="junit.framework,
25-
org.eclipse.equinox.app,
26-
org.osgi.framework,
27-
org.osgi.util.tracker",
22+
Export-Package: org.eclipse.osgi.tests.appadmin;uses:="org.eclipse.equinox.app,org.osgi.framework,org.osgi.util.tracker",
2823
org.eclipse.osgi.tests.bundles;
2924
uses:="org.eclipse.osgi.launch,
3025
org.eclipse.osgi.service.resolver,

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/appadmin/ApplicationAdminTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class ApplicationAdminTest {
7171
.withApplicationId(testRunnerApp)
7272
.withCustomization(configuration)
7373
.create();
74-
74+
7575
@BeforeAll
7676
@ExecuteInHost
7777
public static void setup() {

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/configuration/EclipseStarterConfigurationAreaTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
public class EclipseStarterConfigurationAreaTest {
4141
private static final String WITH_COMPATIBILITY_FRAGMENT = "withCompatibilityFragment";
4242

43-
private CustomSessionConfiguration sessionConfiguration = SessionTestExtension.createCustomConfiguration();
43+
private final CustomSessionConfiguration sessionConfiguration = SessionTestExtension.createCustomConfiguration();
4444

4545
@RegisterExtension
4646
SessionTestExtension extension = SessionTestExtension.forPlugin(PI_OSGI_TESTS)

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/configuration/ReadOnlyConfigurationAreaTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void test1stSessionFollowUp() throws IOException {
9191
* Tries to install a plug-in that has no manifest. Should fail because by
9292
* default the manifest generation area is under the configuration area (which
9393
* is read-only here)
94-
*
94+
*
9595
* @throws BundleException
9696
*/
9797
@Test

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/util/BidiTextProcessorTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public class BidiTextProcessorTestCase extends TextProcessorTestCase {
137137

138138
protected static String defaultDelimiters = TextProcessor.getDefaultDelimiters();
139139

140-
private CustomSessionConfiguration sessionConfiguration = createSessionConfiguration();
140+
private final CustomSessionConfiguration sessionConfiguration = createSessionConfiguration();
141141

142142
@RegisterExtension
143143
SessionTestExtension extension = SessionTestExtension.forPlugin(PI_OSGI_TESTS)

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/util/LatinTextProcessorTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class LatinTextProcessorTestCase extends TextProcessorTestCase {
5656
}
5757
}
5858

59-
private CustomSessionConfiguration sessionConfiguration = createSessionConfiguration();
59+
private final CustomSessionConfiguration sessionConfiguration = createSessionConfiguration();
6060

6161
@RegisterExtension
6262
SessionTestExtension extension = SessionTestExtension.forPlugin(PI_OSGI_TESTS)

0 commit comments

Comments
 (0)