blob: d2584947fcc4322cdd1521fd2cda9112a4ebe70d [file]
// "Replace loop with 'Arrays.fill()' method call" "true"
import java.util.Arrays;
public class Test {
public static int[] init(int[] arr, boolean b) {
if (b) {
arr = new int[10];
}
Arrays.fill(arr, 0);
return arr;
}
}