You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2017/05/04 18:21:43 UTC

[6/6] cxf git commit: Compile for j6

Compile for j6


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/148708b2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/148708b2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/148708b2

Branch: refs/heads/3.0.x-fixes
Commit: 148708b2c64d037006e31e2c17d0ab9600f6083a
Parents: f525fc4
Author: Daniel Kulp <dk...@apache.org>
Authored: Thu May 4 14:21:15 2017 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Thu May 4 14:21:15 2017 -0400

----------------------------------------------------------------------
 core/src/main/java/org/apache/cxf/common/util/CacheMap.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/148708b2/core/src/main/java/org/apache/cxf/common/util/CacheMap.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/common/util/CacheMap.java b/core/src/main/java/org/apache/cxf/common/util/CacheMap.java
index 9d64c39..6339c80 100644
--- a/core/src/main/java/org/apache/cxf/common/util/CacheMap.java
+++ b/core/src/main/java/org/apache/cxf/common/util/CacheMap.java
@@ -120,7 +120,7 @@ public class CacheMap<K, V> implements Map<K, V> {
 
     public V remove(Object key) {
         V v = mainDataMap.remove(key);
-        Set<K> keys = new HashSet<>(extraKeyMap.keySet());
+        Set<K> keys = new HashSet<K>(extraKeyMap.keySet());
         V v2 = extraKeyMap.remove(key);
         for (K nk : keys) {
             if ((key != null && key.equals(nk)) || (key == null && nk == null)) {