mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
13 lines
345 B
Java
13 lines
345 B
Java
// "Fix all 'Explicit array filling' problems in file" "false"
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
public class Test {
|
|
public void test(List<Integer> ints) {
|
|
int[] arr = new int[ints.size()];
|
|
for(int <caret>i = 1; arr.length > i; i++) {
|
|
arr[i] = ints.get(i);
|
|
}
|
|
System.out.println(Arrays.toString(arr));
|
|
}
|
|
} |