IDEA-146512 Code completion adds unnecessary type parameter

This commit is contained in:
peter
2015-10-17 12:36:37 +02:00
parent ccf424f4d4
commit 5d31a4c147
4 changed files with 29 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
import java.util.*;
class Foo {
Optional<Integer> foo(Object o) {
return o == null ? Opt<caret>
}
}

View File

@@ -0,0 +1,7 @@
import java.util.*;
class Foo {
Optional<Integer> foo(Object o) {
return o == null ? Optional.empty()<caret>
}
}