commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r780644 - /commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/LeastSquaresConverter.java
Date Mon, 01 Jun 2009 13:23:17 GMT
Author: luc
Date: Mon Jun  1 13:23:17 2009
New Revision: 780644

URL: http://svn.apache.org/viewvc?rev=780644&view=rev
Log:
remove impossible serialization
(function is no more serializable)

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

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/LeastSquaresConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/LeastSquaresConverter.java?rev=780644&r1=780643&r2=780644&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/LeastSquaresConverter.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/LeastSquaresConverter.java
Mon Jun  1 13:23:17 2009
@@ -17,8 +17,6 @@
 
 package org.apache.commons.math.optimization;
 
-import java.io.Serializable;
-
 import org.apache.commons.math.FunctionEvaluationException;
 import org.apache.commons.math.MathRuntimeException;
 import org.apache.commons.math.analysis.MultivariateRealFunction;
@@ -56,12 +54,7 @@
  * @since 2.0
  */
 
-public class LeastSquaresConverter implements MultivariateRealFunction, Serializable {
-    // TODO: Add Serializable documentation
-    // TODO: Check Serializable implementation
-
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = -4369653306135732243L;
+public class LeastSquaresConverter implements MultivariateRealFunction {
 
     /** Underlying vectorial function. */
     private final MultivariateVectorialFunction function;



Mime
View raw message