mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
7 lines
173 B
Java
7 lines
173 B
Java
// "Replace with 'putIfAbsent' method call" "true"
|
|
import java.util.Map;
|
|
class Test {
|
|
void m1111(Map<String, Integer> map) {
|
|
int i = map.putIfAbsent("asd", 123);
|
|
}
|
|
} |