mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
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;
|
|
}
|
|
}
|
|
} |