Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantCollectionOperation/afterContainsKeyRemove.java
2018-01-22 13:39:09 +07:00

9 lines
194 B
Java

// "Remove the 'containsKey' check" "true"
import java.util.Map;
class Test {
void test(Map<String, Integer> map, String key) {
/*contains!!!*/
map.remove(/*remove!!!*/key);
}
}