exclude ConcurrentMap#putIfAbsent from avoided prior 1.8 api

This commit is contained in:
Anna Kozlova
2014-12-11 11:16:46 +01:00
parent 474e0fef6f
commit cae244cf52
2 changed files with 1 additions and 4 deletions
@@ -1013,12 +1013,8 @@ java.util.Collections.SingletonMap#replaceAll(java.util.function.BiFunction<? su
java.util.Collections.SynchronizedMap#putIfAbsent(K;V;)
java.util.Collections.CheckedMap#putIfAbsent(K;V;)
java.util.HashMap#putIfAbsent(K;V;)
java.util.concurrent.ConcurrentMap#putIfAbsent(K;V;)
java.util.Collections.UnmodifiableMap#putIfAbsent(K;V;)
java.util.Hashtable#putIfAbsent(K;V;)
java.util.concurrent.ConcurrentSkipListMap#putIfAbsent(K;V;)
java.util.concurrent.ConcurrentSkipListMap.SubMap#putIfAbsent(K;V;)
java.util.concurrent.ConcurrentHashMap#putIfAbsent(K;V;)
java.util.Collections.EmptyMap#putIfAbsent(K;V;)
java.util.Collections.SingletonMap#putIfAbsent(K;V;)
java.util.Collections.SynchronizedMap#remove(java.lang.Object;java.lang.Object;)
@@ -77,6 +77,7 @@ public class JavaAPIUsagesInspectionTest extends InspectionTestCase {
//generate apiXXX.txt
/*
//todo exclude inheritors of ConcurrentMap#putIfAbsent
public void testCollectSinceApiUsages() {
final String version = "1.8";
final LinkedHashSet<String> notDocumented = new LinkedHashSet<String>();