mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 04:45:20 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
9 lines
197 B
Java
9 lines
197 B
Java
// "Replace with 'putIfAbsent()' call" "true"
|
|
import java.util.Map;
|
|
class Test {
|
|
void m1(Map<String, Integer> map) {
|
|
if (!map.contai<caret>nsKey("ads")) {
|
|
map.put("ads", i);
|
|
}
|
|
}
|
|
} |