Files
openide/java/java-tests/testData/inspection/explicitArrayFilling/afterConstantRhs.java
T

14 lines
291 B
Java

// "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) {
/*comment*/
/*in body*/
/*in lvalue*/
/*in rvalue*/
Arrays.fill(data, value);
}
}