Files
openide/java/java-tests/testData/inspection/explicitArrayFilling/afterEmptyArrayCreation.java
Artemiy Sartakov fdde0d69f0 ExplicitArrayFillingInspection: removed unnecessary imports from test (IDEA-CR-50510)
GitOrigin-RevId: 3189600dc9f48a3d2d567ec829c575f7455c9f50
2019-07-26 11:02:46 +03:00

10 lines
197 B
Java

// "Replace loop with 'Arrays.fill()' method call" "true"
import java.util.Arrays;
class Test {
private void test2() {
int[][] arr = new int[10][];
Arrays.fill(arr, new int[0]);
}
}