mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 16:02:32 +07:00
GitOrigin-RevId: fbe431b55c1e23ae215aea7b54d4cc5e638c8d86
11 lines
219 B
Java
11 lines
219 B
Java
// "Replace loop with 'Arrays.setAll()' method call" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
|
|
void fill2DArray() {
|
|
final double[][] arr = new double[2][];
|
|
Arrays.setAll(arr, i -> new double[1]);
|
|
}
|
|
} |