mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 12:10:37 +07:00
GitOrigin-RevId: fbe431b55c1e23ae215aea7b54d4cc5e638c8d86
11 lines
233 B
Java
11 lines
233 B
Java
// "Replace loop with 'Arrays.setAll()' method call" "true"
|
|
|
|
class Test {
|
|
|
|
void fill2DArray() {
|
|
final double[][] arr = new double[2][];
|
|
for (<caret>int i = 0; i < arr.length; i++) {
|
|
arr[i] = new double[1];
|
|
}
|
|
}
|
|
} |