check possible inference for method references before simplification (IDEA-171976)

This commit is contained in:
Anna.Kozlova
2017-04-26 20:36:29 +02:00
parent 6c7d18819a
commit d82105d5ec
3 changed files with 47 additions and 8 deletions
@@ -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);
}
}