mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
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);
|
|
}
|
|
} |