Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/beforeToArrayCountedBoxed.java

14 lines
271 B
Java

// "Replace with toArray" "true"
import java.util.Arrays;
public class Test {
public void test(int bound) {
Object[] arr = new Integer[bound];
for(int <caret>i = 0; i < bound; i++) {
arr[i] = i;
}
System.out.println(Arrays.toString(arr));
}
}