mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 08:34:22 +07:00
GitOrigin-RevId: b411271e0d9d4670630f6a54dd7fac7bf1423a68
15 lines
270 B
Java
15 lines
270 B
Java
// "Remove 'for' statement" "true"
|
|
|
|
public class Test {
|
|
|
|
public static int[] init(int[] arr, boolean b) {
|
|
arr = new int[10];
|
|
if (b) {
|
|
arr = new int[20];
|
|
}
|
|
for (<caret>int i = 0; i < arr.length; i++) {
|
|
arr[i] = 0;
|
|
}
|
|
return arr;
|
|
}
|
|
} |