mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 18:48:28 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
11 lines
336 B
Java
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;
|
|
}
|
|
}
|
|
} |