You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/01/22 17:22:07 UTC

svn commit: r1062187 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java

Author: sebb
Date: Sat Jan 22 16:22:06 2011
New Revision: 1062187

URL: http://svn.apache.org/viewvc?rev=1062187&view=rev
Log:
Tidy up debug output

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java?rev=1062187&r1=1062186&r2=1062187&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java Sat Jan 22 16:22:06 2011
@@ -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=", ";
             }