mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: b411271e0d9d4670630f6a54dd7fac7bf1423a68
13 lines
252 B
Java
13 lines
252 B
Java
// "Remove 'for' statement" "true"
|
|
|
|
public class Test {
|
|
|
|
public static int[] init(int n, boolean b) {
|
|
int[] data = new int[n];
|
|
for (<caret>int j = 0; j < data.length; j++) {
|
|
data[j] = 0;
|
|
}
|
|
data[n - 1] = 6;
|
|
return data;
|
|
}
|
|
} |