mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 07:03:37 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
9 lines
244 B
Java
9 lines
244 B
Java
// "Replace with 'compute()' call" "false"
|
|
import java.util.Map;
|
|
|
|
public class Main {
|
|
public void testCompute(Map<String, Integer> map, String key) {
|
|
Integer value = map.get();
|
|
map.pu<caret>t(key, value == null ? 0 : value + 1);
|
|
}
|
|
} |