Compilation error when building against older versions of OSGi.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3203 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
59d60f33b8
commit
d722830f0b
|
@ -169,7 +169,7 @@ public class PackageAdminServiceTracker implements ServiceListener
|
||||||
protected List<Bundle> getRequiredBundles(Bundle bundle, PackageAdmin admin)
|
protected List<Bundle> getRequiredBundles(Bundle bundle, PackageAdmin admin)
|
||||||
{
|
{
|
||||||
List<Bundle> res = new ArrayList<Bundle>();
|
List<Bundle> res = new ArrayList<Bundle>();
|
||||||
String requiredBundleHeader = bundle.getHeaders().get("Require-Bundle");
|
String requiredBundleHeader = (String)bundle.getHeaders().get("Require-Bundle");
|
||||||
if (requiredBundleHeader == null)
|
if (requiredBundleHeader == null)
|
||||||
{
|
{
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in New Issue