mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
IDEA-156379 Suggested "collect(Collectors.toList())" ignores static Collectors import
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.util.*;
|
||||
import static java.util.stream.Collectors.*;
|
||||
|
||||
class Foo {
|
||||
void m() {
|
||||
List<CharSequence> l = Arrays.asList("a", "b").stream().colle<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.*;
|
||||
import static java.util.stream.Collectors.*;
|
||||
|
||||
class Foo {
|
||||
void m() {
|
||||
List<CharSequence> l = Arrays.asList("a", "b").stream().collect(toList());<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user