blob: dfd1da2f0e6012d4455e39e83cafc9afafd44fe7 [file]
// "Replace with 'putIfAbsent' method call" "false"
import java.util.Map;
class Test {
void m1(Map<String, Integer> map) {
if (!map.contai<caret>nsKey("ads")) {
int i = 10;
map.put("ads", i);
}
}
}