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:
Sebastian Bazley 2012-03-28 11:55:05 +00:00
parent faca098140
commit 99667c817a
1 changed files with 1 additions and 1 deletions

View File

@ -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