mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
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;
|
|
}
|
|
} |