blob: 81098734cd4f60f4a21bebca2a381a7148d10656 [file]
// "Replace with 'putIfAbsent' method call" "true"
import java.util.Map;
class Test{
Integer m2(Map<String, Integer> map) {
if (!map.conta<caret>insKey("asd")) {
return map.put("asd", 123);
} else {
return map.get("asd");
}
}
}