commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1062187 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java
Date Sat, 22 Jan 2011 16:22:07 GMT
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=", ";
             }



Mime
View raw message