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:
Hugues Malphettes 2011-05-18 06:00:42 +00:00
parent 59d60f33b8
commit d722830f0b
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public class PackageAdminServiceTracker implements ServiceListener
protected List<Bundle> getRequiredBundles(Bundle bundle, PackageAdmin admin)
{
List<Bundle> res = new ArrayList<Bundle>();
String requiredBundleHeader = bundle.getHeaders().get("Require-Bundle");
String requiredBundleHeader = (String)bundle.getHeaders().get("Require-Bundle");
if (requiredBundleHeader == null)
{
return res;