Avoid PMD syntax error by using alternate array syntax
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
faca098140
commit
99667c817a
|
@ -604,7 +604,7 @@ class FastMathCalc {
|
|||
checkLen(expectedLen, array2d.length);
|
||||
out.println(TABLE_START_DECL + " ");
|
||||
int i = 0;
|
||||
for(double array[] : array2d) {
|
||||
for(double[] array : array2d) { // "double array[]" causes PMD parsing error
|
||||
out.print(" {");
|
||||
for(double d : array) { // assume inner array has very few entries
|
||||
out.printf("%-25.25s", format(d)); // multiple entries per line
|
||||
|
|
Loading…
Reference in New Issue