commit | 6c46d6e5649a69901e38fd6e3046ee5ee1896f28 | [log] [tgz] |
---|---|---|
author | A. J. David Bosschaert <davidb@apache.org> | Wed Jul 15 08:29:07 2015 +0000 |
committer | A. J. David Bosschaert <davidb@apache.org> | Wed Jul 15 08:29:07 2015 +0000 |
tree | f4c289dc8ba6343b4fca0990082a31571e293ee4 | |
parent | 5889d6dae299db59f6bfa7ae6428077b6ba3dadc [diff] |
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("/")) {