mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-14 01:26:26 +07:00
shortenClassReferences: dequalify references which are statically imported
This commit is contained in:
+3
-2
@@ -2,12 +2,13 @@
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
import static java.util.stream.Collectors.*;
|
||||
|
||||
public class Main<T> {
|
||||
public static List<String> test() {
|
||||
List<String> strings = IntStream.range(0, 10).<String>mapToObj(x -> null).collect(Collectors.toList());
|
||||
List<String> strings = IntStream.range(0, 10).<String>mapToObj(x -> null).collect(toList());
|
||||
return strings;
|
||||
}
|
||||
}
|
||||
+1
@@ -2,6 +2,7 @@
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import static java.util.stream.Collectors.*;
|
||||
|
||||
public class Main<T> {
|
||||
public static List<String> test() {
|
||||
|
||||
Reference in New Issue
Block a user