blob: ef24bc87ce844f6745927c46290681826681f6c5 [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.put("asd", 123) : map.get("asd");
}
}