mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
disable lambda -> method ref if resulted methods are not the same (IDEA-134486)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Replace lambda with method reference" "false"
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
public static void main(Map<Integer, Map<Object, Object>> map) {
|
||||
map.computeIfAbsent(123, key -> new Hash<caret>Map<>());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user