Files
openide/java/java-tests/testData/inspection/explicitArrayFilling/beforeEmptyArrayCreation.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
218 B
Java

// "Replace loop with 'Arrays.fill()' method call" "true"
class Test {
private void test2() {
int[][] arr = new int[10][];
for (<caret>int i = 0; i < arr.length; i++) {
arr[i] = new int[0];
}
}
}