mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
IDEA-146512 Code completion adds unnecessary type parameter
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.util.*;
|
||||
|
||||
class Foo {
|
||||
Optional<Integer> foo(Object o) {
|
||||
return o == null ? Opt<caret>
|
||||
}
|
||||
}
|
||||
@@ -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