commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r989543 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
Date Thu, 26 Aug 2010 08:59:33 GMT
Author: erans
Date: Thu Aug 26 08:59:33 2010
New Revision: 989543

URL: http://svn.apache.org/viewvc?rev=989543&view=rev
Log:
MATH-410
Wrong variable ("argument" instead of "arguments").

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java?rev=989543&r1=989542&r2=989543&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
Thu Aug 26 08:59:33 2010
@@ -70,7 +70,7 @@ public class FunctionEvaluationException
      */
     public FunctionEvaluationException(double argument,
                                        String pattern, Object ... arguments) {
-        this(argument, new DummyLocalizable(pattern), argument);
+        this(argument, new DummyLocalizable(pattern), arguments);
     }
 
     /**
@@ -97,7 +97,7 @@ public class FunctionEvaluationException
      */
     public FunctionEvaluationException(double[] argument,
                                        String pattern, Object ... arguments) {
-        this(argument, new DummyLocalizable(pattern), argument);
+        this(argument, new DummyLocalizable(pattern), arguments);
     }
 
     /**
@@ -150,7 +150,7 @@ public class FunctionEvaluationException
     public FunctionEvaluationException(Throwable cause,
                                        double argument, String pattern,
                                        Object ... arguments) {
-        this(cause, argument, new DummyLocalizable(pattern), argument);
+        this(cause, argument, new DummyLocalizable(pattern), arguments);
     }
 
     /**
@@ -181,7 +181,7 @@ public class FunctionEvaluationException
     public FunctionEvaluationException(Throwable cause,
                                        double[] argument, String pattern,
                                        Object ... arguments) {
-        this(cause, argument, new DummyLocalizable(pattern), argument);
+        this(cause, argument, new DummyLocalizable(pattern), arguments);
     }
 
     /**
@@ -208,5 +208,4 @@ public class FunctionEvaluationException
     public double[] getArgument() {
         return argument.clone();
     }
-
 }



Mime
View raw message