commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r615975 - /commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
Date Mon, 28 Jan 2008 18:19:19 GMT
Author: luc
Date: Mon Jan 28 10:19:13 2008
New Revision: 615975

URL: http://svn.apache.org/viewvc?rev=615975&view=rev
Log:
fixed an array type error

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java?rev=615975&r1=615974&r2=615975&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/estimation/AbstractEstimator.java
Mon Jan 28 10:19:13 2008
@@ -90,9 +90,7 @@
 
         if (++costEvaluations > maxCostEval) {
             throw new EstimationException("maximal number of evaluations exceeded ({0})",
-                    new String[] {
-                    Integer.toString(maxCostEval)
-            });
+                                          new Object[] { new Integer(maxCostEval) });
         }
 
         cost = 0;



Mime
View raw message