commit | fa171ad58e2cbd756633ae7aadb025f9717d689a | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Wed Jun 15 18:54:33 2011 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Wed Jun 15 18:54:33 2011 +0000 |
tree | 2715abc20ccb0a3070f139a04e992a47a1786cdf | |
parent | cce1b51c1a78240a77ea35f468f21c00f898a6f6 [diff] |
Handle a null map. (FELIX-2950) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1136149 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/FilterImpl.java b/framework/src/main/java/org/apache/felix/framework/FilterImpl.java index ef59684..3f1cc2d 100644 --- a/framework/src/main/java/org/apache/felix/framework/FilterImpl.java +++ b/framework/src/main/java/org/apache/felix/framework/FilterImpl.java
@@ -101,7 +101,7 @@ public WrapperCapability(Map map) { super(null, null, Collections.EMPTY_MAP, Collections.EMPTY_MAP); - m_map = map; + m_map = (map == null) ? Collections.EMPTY_MAP : map; } public WrapperCapability(Dictionary dict, boolean caseSensitive)