blob: 84cca2330e798bd7b1ea4e9552c1ce254d866f6c [file]
// "Replace with 'putIfAbsent' method call" "true"
import java.util.Map;
class Test {
void m1111(Map<String, Integer> map) {
int i = map.cont<caret>ainsKey("asd") ? map.get("asd") : map.put("asd", 123);
}
}