FELIX-4960 Remove dependency on Java 7 API.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1691141 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/BundleRevisionImpl.java b/framework/src/main/java/org/apache/felix/framework/BundleRevisionImpl.java
index abe731e..b928185 100644
--- a/framework/src/main/java/org/apache/felix/framework/BundleRevisionImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/BundleRevisionImpl.java
@@ -518,7 +518,7 @@
         // clean or meaningful, but the Spring guys want it.
         final List<Content> contentPath = getContentPath();
         if (contentPath == null)
-            return Collections.emptyEnumeration();
+            return Collections.enumeration(Collections.emptyList());
 
         if (name.equals("/"))
         {