mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 18:13:36 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
12 lines
301 B
Java
12 lines
301 B
Java
import java.util.Arrays;
|
|
|
|
// "Replace loop with 'Arrays.setAll()' method call" "true"
|
|
public class Test {
|
|
private Object[] data;
|
|
|
|
public void fill() {
|
|
/*in body*/
|
|
/*in lvalue*/
|
|
Arrays.setAll(this./*comment*/data, idx -> "Hello!" + /* we need index here */ idx);
|
|
}
|
|
} |