mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-146512 Code completion adds unnecessary type parameter
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.*;
|
||||
|
||||
class Foo {
|
||||
Optional<Integer> foo(Object o) {
|
||||
return o == null ? Opt<caret>
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.*;
|
||||
|
||||
class Foo {
|
||||
Optional<Integer> foo(Object o) {
|
||||
return o == null ? Optional.empty()<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user