blob: 5b9c968e412fc129f0473c23b4eb8dbe504071aa [file]
// "Replace loop with 'Arrays.fill()' method call" "true"
import java.util.Arrays;
import java.util.List;
public class Test {
public static<T> void fill(T[] data, T value) {
for(int <caret>idx = 0; (/*comment*/data).length > idx; idx+=1) {
/*in body*/
data[/*in lvalue*/idx] = /*in rvalue*/value;
}
}
}