commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1338989 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java
Date Wed, 16 May 2012 03:34:32 GMT
Author: celestin
Date: Wed May 16 03:34:32 2012
New Revision: 1338989

URL: http://svn.apache.org/viewvc?rev=1338989&view=rev
Log:
Removed illegal @Override.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java?rev=1338989&r1=1338988&r2=1338989&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java
Wed May 16 03:34:32 2012
@@ -135,7 +135,7 @@ class StraightLineProblem implements Dif
 
         for (int i = 0; i < points.size(); i++) {
             final double[] p = points.get(i);
-            // Partial derivative wrt "a". 
+            // Partial derivative wrt "a".
             jacobian[i][0] = p[0];
             // Partial derivative wrt "b".
             jacobian[i][1] = 1;
@@ -157,7 +157,6 @@ class StraightLineProblem implements Dif
             this.b = b;
         }
 
-        @Override
         public double value(double x) {
             return a * x + b;
         }



Mime
View raw message