Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2017-06-19 13:24:57 +0000
committerThomas Watson2017-06-19 13:24:57 +0000
commitf449d977e9a4e25bc93fdb94993df96fe0cb5382 (patch)
tree05d0139f24d2a1e9bc45ba84a1b7aeaaac715dea
parent436f783a93cbe6440ceef7ad71c06e22c53d3af8 (diff)
downloadrt.equinox.framework-f449d977e9a4e25bc93fdb94993df96fe0cb5382.tar.gz
rt.equinox.framework-f449d977e9a4e25bc93fdb94993df96fe0cb5382.tar.xz
rt.equinox.framework-f449d977e9a4e25bc93fdb94993df96fe0cb5382.zip
Bug 518432 - Compile warning in official build
Change-Id: I7282dc810a6eb576bde4b39a679a481281e66e0d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/legacy/PackageAdminImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/legacy/PackageAdminImpl.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/legacy/PackageAdminImpl.java
index 03808ba23..e21313296 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/legacy/PackageAdminImpl.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/legacy/PackageAdminImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2016 IBM Corporation and others.
+ * Copyright (c) 2003, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -270,7 +270,7 @@ public class PackageAdminImpl implements PackageAdmin {
return null;
}
- public Bundle getBundle(final Class clazz) {
+ public Bundle getBundle(final Class<?> clazz) {
if (System.getSecurityManager() == null)
return getBundlePriv(clazz);
return AccessController.doPrivileged(new GetBundleAction(this, clazz));

Back to the top