Skip to content

Commit e3b93b1

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

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/BundleInstallUpdateTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ public void testUpdateWithStream02() throws Exception {
116116
// make sure b1 is still last bundle in bundles list
117117
Bundle[] bundles = OSGiTestsActivator.getContext().getBundles();
118118
assertTrue("Wrong bundle at the end: " + bundles[bundles.length - 1], bundles[bundles.length - 1] == b1); //$NON-NLS-1$
119-
@SuppressWarnings("deprecation") // getBundles
120119
Bundle[] tests = installer.getPackageAdmin().getBundles(test.getSymbolicName(), null);
121120
assertNotNull("null tests", tests); //$NON-NLS-1$
122121
assertEquals("Wrong number", 1, tests.length); //$NON-NLS-1$

bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/bundles/EquinoxBundleAdaptTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testAdapt_Module() throws Exception {
4040
}
4141

4242
@Test
43-
@SuppressWarnings({ "deprecation", "removal" }) // SecurityManager
43+
@SuppressWarnings({ "removal" }) // SecurityManager
4444
public void testAdapt_ProtectionDomain() throws Exception {
4545
Assume.assumeTrue("Security-Manager is disallowed", SecurityManagerTests.isSecurityManagerAllowed());
4646

0 commit comments

Comments
 (0)