commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1370227 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java
Date Tue, 07 Aug 2012 12:48:25 GMT
Author: sebb
Date: Tue Aug  7 12:48:25 2012
New Revision: 1370227

URL: http://svn.apache.org/viewvc?rev=1370227&view=rev
Log:
MIssing @Override

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java?rev=1370227&r1=1370226&r2=1370227&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java
Tue Aug  7 12:48:25 2012
@@ -82,6 +82,7 @@ public class GaussianFitter extends Curv
      */
     public double[] fit(double[] initialGuess) {
         final Gaussian.Parametric f = new Gaussian.Parametric() {
+                @Override
                 public double value(double x, double ... p) {
                     double v = Double.POSITIVE_INFINITY;
                     try {
@@ -92,6 +93,7 @@ public class GaussianFitter extends Curv
                     return v;
                 }
 
+                @Override
                 public double[] gradient(double x, double ... p) {
                     double[] v = { Double.POSITIVE_INFINITY,
                                    Double.POSITIVE_INFINITY,

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java?rev=1370227&r1=1370226&r2=1370227&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java
Tue Aug  7 12:48:25 2012
@@ -98,6 +98,7 @@ public class AbstractRealDistributionTes
                 return true;
             }
 
+            @Override
             public double probability(final double x) {
                 throw new UnsupportedOperationException();
             }
@@ -196,6 +197,7 @@ public class AbstractRealDistributionTes
                 return true;
             }
 
+            @Override
             public double probability(final double x) {
                 throw new UnsupportedOperationException();
             }



Mime
View raw message