mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
Fixes IDEA-215931 Incorrect "Excessive lambda usage" warning GitOrigin-RevId: 13fa8f5d7d283cd7a208053ed0271a644b713391
8 lines
223 B
Java
8 lines
223 B
Java
// "Use 'putIfAbsent' method without lambda" "false"
|
|
import java.util.Map;
|
|
|
|
class Test {
|
|
public void test(Map<String, String> map, String key, String value) {
|
|
map.computeIfAbsent(key, k <caret>-> value);
|
|
}
|
|
} |