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