commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r786878 - in /commons/proper/math/trunk/src/java/org/apache/commons/math/optimization: MultiStartDifferentiableMultivariateRealOptimizer.java MultiStartMultivariateRealOptimizer.java
Date Sat, 20 Jun 2009 18:17:33 GMT
Author: luc
Date: Sat Jun 20 18:17:32 2009
New Revision: 786878

URL: http://svn.apache.org/viewvc?rev=786878&view=rev
Log:
removed serialization for multistart optimizers

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java?rev=786878&r1=786877&r2=786878&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java
Sat Jun 20 18:17:32 2009
@@ -17,7 +17,6 @@
 
 package org.apache.commons.math.optimization;
 
-import java.io.Serializable;
 import java.util.Arrays;
 import java.util.Comparator;
 
@@ -39,10 +38,7 @@
  * @since 2.0
  */
 public class MultiStartDifferentiableMultivariateRealOptimizer
-    implements DifferentiableMultivariateRealOptimizer, Serializable {
-
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = -3220364832729994537L;
+    implements DifferentiableMultivariateRealOptimizer {
 
     /** Underlying classical optimizer. */
     private final DifferentiableMultivariateRealOptimizer optimizer;

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java?rev=786878&r1=786877&r2=786878&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java
Sat Jun 20 18:17:32 2009
@@ -17,7 +17,6 @@
 
 package org.apache.commons.math.optimization;
 
-import java.io.Serializable;
 import java.util.Arrays;
 import java.util.Comparator;
 
@@ -38,12 +37,8 @@
  * @version $Revision$ $Date$
  * @since 2.0
  */
-public class MultiStartMultivariateRealOptimizer implements MultivariateRealOptimizer, Serializable
{
-    // TODO: Add Serializable documentation
-    // TODO: Check Serializable implementation
-
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = 5983375963110961019L;
+public class MultiStartMultivariateRealOptimizer
+    implements MultivariateRealOptimizer {
 
     /** Underlying classical optimizer. */
     private final MultivariateRealOptimizer optimizer;



Mime
View raw message