commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1062188 - /commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathTest.java
Date Sat, 22 Jan 2011 16:22:47 GMT
Author: sebb
Date: Sat Jan 22 16:22:47 2011
New Revision: 1062188

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

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

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



Mime
View raw message