Tidy up debug output

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1062187 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2011-01-22 16:22:06 +00:00
parent b0bd0cdc9c
commit 3729cef21a
1 changed files with 2 additions and 2 deletions

View File

@ -1001,13 +1001,13 @@ public class FastMathTest {
}
}
StringBuilder sb = new StringBuilder();
sb.append(mathMethod.getReturnType().getSimpleName());
sb.append(" ");
sb.append(mathMethod.getName());
sb.append("(");
String sep = "";
for(Object o : params){
sb.append(sep);
sb.append(o.getClass().getSimpleName().toLowerCase()); // Hack: assume only Float/Double are used
sb.append(" ");
sb.append(o);
sep=", ";
}