mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 07:11:30 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
7 lines
157 B
Java
7 lines
157 B
Java
// "Replace with 'putIfAbsent()' call" "true"
|
|
import java.util.Map;
|
|
class Test {
|
|
void m1(Map<String, Integer> map) {
|
|
map.putIfAbsent("ads", i);
|
|
}
|
|
} |