diff --git a/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java b/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java index 058277296..d6d57daab 100644 --- a/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java +++ b/src/java/org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateRealOptimizer.java @@ -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 @@ import org.apache.commons.math.random.RandomVectorGenerator; * @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; diff --git a/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java b/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java index 3f09dc71e..3c757f8a6 100644 --- a/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java +++ b/src/java/org/apache/commons/math/optimization/MultiStartMultivariateRealOptimizer.java @@ -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 @@ import org.apache.commons.math.random.RandomVectorGenerator; * @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;