diff --git a/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java b/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java index f4eb0b5ab..9ada84e13 100644 --- a/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java +++ b/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecomposition.java @@ -17,8 +17,6 @@ package org.apache.commons.math.linear.decomposition; -import java.io.Serializable; - import org.apache.commons.math.linear.RealMatrix; /** @@ -38,12 +36,14 @@ import org.apache.commons.math.linear.RealMatrix; * the returned {@link DecompositionSolver}. * * + * No longer Serializable since 3.3 + * * @see MathWorld * @see Wikipedia * @version $Revision$ $Date$ * @since 2.0 */ -public interface CholeskyDecomposition extends Serializable { +public interface CholeskyDecomposition { /** * Returns the matrix L of the decomposition. diff --git a/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java b/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java index 94e7e1318..17814984b 100644 --- a/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java +++ b/src/java/org/apache/commons/math/linear/decomposition/CholeskyDecompositionImpl.java @@ -17,6 +17,8 @@ package org.apache.commons.math.linear.decomposition; +import java.io.Serializable; + import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.linear.InvalidMatrixException; import org.apache.commons.math.linear.MatrixUtils; @@ -37,7 +39,9 @@ import org.apache.commons.math.linear.RealVectorImpl; * @version $Revision$ $Date$ * @since 2.0 */ -public class CholeskyDecompositionImpl implements CholeskyDecomposition { +public class CholeskyDecompositionImpl implements CholeskyDecomposition, Serializable { + // TODO: Add Serializable documentation + // TODO: Check Serializable implementation /** Serializable version identifier. */ private static final long serialVersionUID = -2036131698031167221L;