mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
14 lines
290 B
Java
14 lines
290 B
Java
// "Replace with collect" "true"
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class Main<T> {
|
|
public static List<String> test() {
|
|
List<String> strings = new ArrayList<>();
|
|
for(in<caret>t x = 0; x < 10; x++) {
|
|
strings.add(null);
|
|
}
|
|
return strings;
|
|
}
|
|
} |