Files
openide/java/java-tests/testData/inspection/explicitArrayFilling/beforeFieldComments.java
Rustam Vishnyakov 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00

11 lines
336 B
Java

// "Replace loop with 'Arrays.setAll()' method call" "true"
public class Test {
private Object[] data;
public void fill() {
for(int <caret>idx = 0; (this./*comment*/data).length > idx; idx+=1) {
/*in body*/
this./*in lvalue*/data[idx] = "Hello!" + /* we need index here */ idx;
}
}
}