mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
check possible inference for method references before simplification (IDEA-171976)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Remove explicit type arguments" "false"
|
||||
import java.util.Map.Entry;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
Collectors.toMap(Entry<Integer, <caret>Integer>::getKey, null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user