mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 08:34:22 +07:00
GitOrigin-RevId: b411271e0d9d4670630f6a54dd7fac7bf1423a68
16 lines
278 B
Java
16 lines
278 B
Java
// "Remove 'for' statement" "true"
|
|
|
|
public class Test {
|
|
|
|
public static int[] init(int n) {
|
|
int[] data = new int[n];
|
|
int i = 0;
|
|
while (i < 3) {
|
|
for (<caret>int j = 0; j < data.length; j++) {
|
|
data[j] = 0;
|
|
}
|
|
i++;
|
|
}
|
|
return data;
|
|
}
|
|
} |