mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 20:07:01 +07:00
10 lines
298 B
Java
10 lines
298 B
Java
// "Replace loop with 'Arrays.fill()' method call" "false"
|
|
package pack;
|
|
|
|
public class TableWrapper {
|
|
|
|
public static double[][] diag(final int n, final double value) {
|
|
final double[][] test = new double[n][n];
|
|
for (<caret>int i = 0; i < n; ++i) test[i][i] = value;
|
|
return test;
|
|
}} |