commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1141890 - in /commons/proper/math/trunk/src/test/java/org/apache/commons/math: ode/ ode/nonstiff/ ode/sampling/ optimization/ optimization/direct/ optimization/general/
Date Fri, 01 Jul 2011 09:33:56 GMT
Author: luc
Date: Fri Jul  1 09:33:55 2011
New Revision: 1141890

URL: http://svn.apache.org/viewvc?rev=1141890&view=rev
Log:
removed serialVersionUID for non-serializable classes.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem1.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem2.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem3.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem4.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem5.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem6.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemAbstract.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/EulerIntegratorTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/MidpointIntegratorTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/StepProblem.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/sampling/StepNormalizerTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizerTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerMultiDirectionalTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerNelderMeadTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleScalar.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleVectorial.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizerTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizerTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizerTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
Fri Jul  1 09:33:55 2011
@@ -90,7 +90,6 @@ public class ContinuousOutputModelTest {
       // theoretical solution: y[0] = cos(t), y[1] = sin(t)
       FirstOrderDifferentialEquations problem =
           new FirstOrderDifferentialEquations() {
-              private static final long serialVersionUID = 2472449657345878299L;
               public void computeDerivatives(double t, double[] y, double[] dot)
                   throws MathUserException {
                   dot[0] = -y[1];

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem1.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem1.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem1.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem1.java
Fri Jul  1 09:33:55 2011
@@ -36,9 +36,6 @@ import org.apache.commons.math.util.Fast
 public class TestProblem1
   extends TestProblemAbstract {
 
-  /** Serializable version identifier. */
-  private static final long serialVersionUID = 1977870815289373164L;
-
   /** theoretical state */
   private double[] y;
 

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem2.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem2.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem2.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem2.java
Fri Jul  1 09:33:55 2011
@@ -37,9 +37,6 @@ import org.apache.commons.math.util.Fast
 public class TestProblem2
   extends TestProblemAbstract {
 
-  /** Serializable version identifier. */
-  private static final long serialVersionUID = 8330741783213512366L;
-
   /** theoretical state */
   private double[] y;
 

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem3.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem3.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem3.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem3.java
Fri Jul  1 09:33:55 2011
@@ -39,9 +39,6 @@ import org.apache.commons.math.util.Fast
 public class TestProblem3
   extends TestProblemAbstract {
 
-  /** Serializable version identifier. */
-  private static final long serialVersionUID = 8567328542728919999L;
-
   /** Eccentricity */
   double e;
 

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem4.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem4.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem4.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem4.java
Fri Jul  1 09:33:55 2011
@@ -38,9 +38,6 @@ import org.apache.commons.math.util.Fast
 public class TestProblem4
   extends TestProblemAbstract {
 
-  /** Serializable version identifier. */
-  private static final long serialVersionUID = -5910438521889015745L;
-
   /** Time offset. */
   private double a;
 
@@ -112,7 +109,6 @@ public TestProblem4 copy() {
 
   private static class Bounce implements EventHandler {
 
-    private static final long serialVersionUID = 1356097180027801200L;
     private int sign;
 
     public Bounce() {
@@ -138,8 +134,6 @@ public TestProblem4 copy() {
 
   private static class Stop implements EventHandler {
 
-    private static final long serialVersionUID = 6975050568227951931L;
-
     public Stop() {
     }
 

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem5.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem5.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem5.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem5.java
Fri Jul  1 09:33:55 2011
@@ -25,9 +25,6 @@ package org.apache.commons.math.ode;
 public class TestProblem5
   extends TestProblem1 {
 
-  /** Serializable version identifier. */
-  private static final long serialVersionUID = 7579233102411804237L;
-
   /**
    * Simple constructor.
    */

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem6.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem6.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem6.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblem6.java
Fri Jul  1 09:33:55 2011
@@ -35,9 +35,6 @@ package org.apache.commons.math.ode;
 public class TestProblem6
   extends TestProblemAbstract {
 
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = 1353409119804352378L;
-
     /** theoretical state */
     private double[] y;
 

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemAbstract.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemAbstract.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemAbstract.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemAbstract.java
Fri Jul  1 09:33:55 2011
@@ -27,9 +27,6 @@ import org.apache.commons.math.ode.event
 public abstract class TestProblemAbstract
   implements FirstOrderDifferentialEquations {
 
-  /** Serializable version identifier. */
-  private static final long serialVersionUID = -8521928974502839379L;
-
   /** Dimension of the problem. */
   protected int n;
 

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
Fri Jul  1 09:33:55 2011
@@ -293,7 +293,6 @@ public class ClassicalRungeKuttaIntegrat
           }
       });
       integ.integrate(new FirstOrderDifferentialEquations() {
-          private static final long serialVersionUID = 0L;
           public void computeDerivatives(double t, double[] y, double[] dot) {
               dot[0] = 1.0;
           }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/EulerIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/EulerIntegratorTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/EulerIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/EulerIntegratorTest.java
Fri Jul  1 09:33:55 2011
@@ -174,7 +174,6 @@ public class EulerIntegratorTest {
         }
       });
       integ.integrate(new FirstOrderDifferentialEquations() {
-                          private static final long serialVersionUID = 0L;
                           public void computeDerivatives(double t, double[] y, double[] dot)
{
                               dot[0] = 1.0;
                           }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
Fri Jul  1 09:33:55 2011
@@ -228,7 +228,6 @@ public class GillIntegratorTest {
           }
       });
       integ.integrate(new FirstOrderDifferentialEquations() {
-          private static final long serialVersionUID = 0L;
           public void computeDerivatives(double t, double[] y, double[] dot) {
               dot[0] = 1.0;
           }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
Fri Jul  1 09:33:55 2011
@@ -43,7 +43,6 @@ public class HighamHall54IntegratorTest 
           new HighamHall54Integrator(0.0, 1.0, 1.0e-10, 1.0e-10);
       FirstOrderDifferentialEquations equations =
           new FirstOrderDifferentialEquations() {
-            private static final long serialVersionUID = -1157081786301178032L;
             public void computeDerivatives(double t, double[] y, double[] dot)
             throws MathUserException {
             if (t < -0.5) {
@@ -222,7 +221,6 @@ public class HighamHall54IntegratorTest 
         }
         public void resetState(double t, double[] y) {
         }
-        private static final long serialVersionUID = 935652725339916361L;
       }, Double.POSITIVE_INFINITY, 1.0e-8 * maxStep, 1000);
 
       try {
@@ -262,7 +260,6 @@ public class HighamHall54IntegratorTest 
       }
       public void resetState(double t, double[] y) {
       }
-      private static final long serialVersionUID = 935652725339916361L;
     }, Double.POSITIVE_INFINITY, 1.0e-8 * maxStep, 3);
 
     try {

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/MidpointIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/MidpointIntegratorTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/MidpointIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/MidpointIntegratorTest.java
Fri Jul  1 09:33:55 2011
@@ -174,7 +174,6 @@ public class MidpointIntegratorTest {
           }
       });
       integ.integrate(new FirstOrderDifferentialEquations() {
-          private static final long serialVersionUID = 0L;
           public void computeDerivatives(double t, double[] y, double[] dot) {
               dot[0] = 1.0;
           }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/StepProblem.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/StepProblem.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/StepProblem.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/nonstiff/StepProblem.java
Fri Jul  1 09:33:55 2011
@@ -59,6 +59,4 @@ public class StepProblem
   private double rateAfter;
   private double switchTime;
 
-  private static final long serialVersionUID = 7590601995477504318L;
-
 }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/sampling/StepNormalizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/sampling/StepNormalizerTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/sampling/StepNormalizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/sampling/StepNormalizerTest.java
Fri Jul  1 09:33:55 2011
@@ -45,7 +45,6 @@ public class StepNormalizerTest {
     setLastSeen(false);
     integ.addStepHandler(new StepNormalizer(range / 10.0,
                                        new FixedStepHandler() {
-                                        private static final long serialVersionUID = 1650337364641626444L;
                                         private boolean firstCall = true;
                                          public void handleStep(double t,
                                                                 double[] y,
@@ -74,7 +73,6 @@ public class StepNormalizerTest {
     setLastSeen(false);
     integ.addStepHandler(new StepNormalizer(range / 10.5,
                                        new FixedStepHandler() {
-                                        private static final long serialVersionUID = 2228457391561277298L;
                                         public void handleStep(double t,
                                                                 double[] y,
                                                                 double[] yDot,

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizerTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizerTest.java
Fri Jul  1 09:33:55 2011
@@ -18,12 +18,10 @@
 package org.apache.commons.math.optimization;
 
 
-import java.io.Serializable;
-
-import org.apache.commons.math.exception.MathUserException;
-import org.apache.commons.math.exception.MathIllegalStateException;
 import org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction;
 import org.apache.commons.math.analysis.MultivariateMatrixFunction;
+import org.apache.commons.math.exception.MathIllegalStateException;
+import org.apache.commons.math.exception.MathUserException;
 import org.apache.commons.math.linear.BlockRealMatrix;
 import org.apache.commons.math.linear.RealMatrix;
 import org.apache.commons.math.optimization.general.GaussNewtonOptimizer;
@@ -157,9 +155,8 @@ public class MultiStartDifferentiableMul
             }, new double[] { 2 }, new double[] { 1 }, new double[] { 0 });
     }
 
-    private static class LinearProblem implements DifferentiableMultivariateVectorialFunction,
Serializable {
+    private static class LinearProblem implements DifferentiableMultivariateVectorialFunction
{
 
-        private static final long serialVersionUID = -8804268799379350190L;
         final RealMatrix factors;
         final double[] target;
         public LinearProblem(double[][] factors, double[] target) {
@@ -173,7 +170,6 @@ public class MultiStartDifferentiableMul
 
         public MultivariateMatrixFunction jacobian() {
             return new MultivariateMatrixFunction() {
-                private static final long serialVersionUID = -8387467946663627585L;
                 public double[][] value(double[] point) {
                     return factors.getData();
                 }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerMultiDirectionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerMultiDirectionalTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerMultiDirectionalTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerMultiDirectionalTest.java
Fri Jul  1 09:33:55 2011
@@ -38,7 +38,6 @@ public class SimplexOptimizerMultiDirect
         final double valueXpYm = -0.7290400707055187115322; // global minimum
         final double valueXpYp = -valueXpYm;                // global maximum
         MultivariateRealFunction fourExtrema = new MultivariateRealFunction() {
-                private static final long serialVersionUID = -7039124064449091152L;
                 public double value(double[] variables) {
                     final double x = variables[0];
                     final double y = variables[1];
@@ -87,7 +86,6 @@ public class SimplexOptimizerMultiDirect
     public void testRosenbrock() {
         MultivariateRealFunction rosenbrock =
             new MultivariateRealFunction() {
-                private static final long serialVersionUID = -9044950469615237490L;
                 public double value(double[] x) {
                     ++count;
                     double a = x[1] - x[0] * x[0];
@@ -114,7 +112,6 @@ public class SimplexOptimizerMultiDirect
     public void testPowell() {
         MultivariateRealFunction powell =
             new MultivariateRealFunction() {
-                private static final long serialVersionUID = -832162886102041840L;
                 public double value(double[] x) {
                     ++count;
                     double a = x[0] + 10 * x[1];

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerNelderMeadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerNelderMeadTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerNelderMeadTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/direct/SimplexOptimizerNelderMeadTest.java
Fri Jul  1 09:33:55 2011
@@ -43,7 +43,6 @@ public class SimplexOptimizerNelderMeadT
         final double valueXpYm = -0.7290400707055187115322; // global minimum
         final double valueXpYp = -valueXpYm;                // global maximum
         MultivariateRealFunction fourExtrema = new MultivariateRealFunction() {
-                private static final long serialVersionUID = -7039124064449091152L;
                 public double value(double[] variables) {
                     final double x = variables[0];
                     final double y = variables[1];

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleScalar.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleScalar.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleScalar.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleScalar.java
Fri Jul  1 09:33:55 2011
@@ -79,7 +79,6 @@ class CircleScalar implements Differenti
 
     public MultivariateVectorialFunction gradient() {
         return new MultivariateVectorialFunction() {
-            private static final long serialVersionUID = 3174909643301201710L;
             public double[] value(double[] point) {
                 return gradient(point);
             }
@@ -88,7 +87,6 @@ class CircleScalar implements Differenti
 
     public MultivariateRealFunction partialDerivative(final int k) {
         return new MultivariateRealFunction() {
-            private static final long serialVersionUID = 3073956364104833888L;
             public double value(double[] point) {
                 return gradient(point)[k];
             }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleVectorial.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleVectorial.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleVectorial.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/CircleVectorial.java
Fri Jul  1 09:33:55 2011
@@ -89,7 +89,6 @@ class CircleVectorial implements Differe
 
     public MultivariateMatrixFunction jacobian() {
         return new MultivariateMatrixFunction() {
-            private static final long serialVersionUID = -4340046230875165095L;
             public double[][] value(double[] point) {
                 return jacobian(point);
             }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizerTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/GaussNewtonOptimizerTest.java
Fri Jul  1 09:33:55 2011
@@ -477,7 +477,6 @@ public class GaussNewtonOptimizerTest {
 
         public MultivariateMatrixFunction jacobian() {
             return new MultivariateMatrixFunction() {
-                private static final long serialVersionUID = -8387467946663627585L;
                 public double[][] value(double[] point) {
                     return factors.getData();
                 }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizerTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizerTest.java
Fri Jul  1 09:33:55 2011
@@ -530,7 +530,6 @@ public class LevenbergMarquardtOptimizer
 
         public MultivariateMatrixFunction jacobian() {
             return new MultivariateMatrixFunction() {
-                private static final long serialVersionUID = 556396458721526234L;
                 public double[][] value(double[] point) {
                     return factors.getData();
                 }
@@ -574,7 +573,6 @@ public class LevenbergMarquardtOptimizer
 
         public MultivariateMatrixFunction jacobian() {
             return new MultivariateMatrixFunction() {
-                private static final long serialVersionUID = -8673650298627399464L;
                 public double[][] value(double[] point) {
                     return jacobian(point);
                 }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
Fri Jul  1 09:33:55 2011
@@ -595,7 +595,6 @@ public class MinpackTest {
 
       public MultivariateMatrixFunction jacobian() {
           return new MultivariateMatrixFunction() {
-            private static final long serialVersionUID = -2435076097232923678L;
             public double[][] value(double[] point) {
                   return jacobian(point);
               }

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizerTest.java?rev=1141890&r1=1141889&r2=1141890&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizerTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizerTest.java
Fri Jul  1 09:33:55 2011
@@ -376,7 +376,6 @@ public class NonLinearConjugateGradientO
 
         public MultivariateVectorialFunction gradient() {
             return new MultivariateVectorialFunction() {
-                private static final long serialVersionUID = 2621997811350805819L;
                 public double[] value(double[] point) {
                     return gradient(point);
                 }
@@ -385,7 +384,6 @@ public class NonLinearConjugateGradientO
 
         public MultivariateRealFunction partialDerivative(final int k) {
             return new MultivariateRealFunction() {
-                private static final long serialVersionUID = -6186178619133562011L;
                 public double value(double[] point) {
                     return gradient(point)[k];
                 }



Mime
View raw message