commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1141885 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math: complex/ linear/ random/ util/
Date Fri, 01 Jul 2011 09:16:41 GMT
Author: luc
Date: Fri Jul  1 09:16:41 2011
New Revision: 1141885

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

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/UniformRandomGenerator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java?rev=1141885&r1=1141884&r2=1141885&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
Fri Jul  1 09:16:41 2011
@@ -37,8 +37,7 @@ import org.apache.commons.math.exception
  * @version $Id$
  */
 public class ComplexFormat {
-    /** Serializable version identifier */
-    private static final long serialVersionUID = -3343698360149467646L;
+
      /** The default imaginary character. */
     private static final String DEFAULT_IMAGINARY_CHARACTER = "i";
     /** The notation used to signify the imaginary part of the complex number. */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java?rev=1141885&r1=1141884&r2=1141885&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/FieldLUDecompositionImpl.java
Fri Jul  1 09:16:41 2011
@@ -220,9 +220,6 @@ public class FieldLUDecompositionImpl<T 
     /** Specialized solver. */
     private static class Solver<T extends FieldElement<T>> implements FieldDecompositionSolver<T>
{
 
-        /** Serializable version identifier. */
-        private static final long serialVersionUID = -6353105415121373022L;
-
         /** Field to which the elements belong. */
         private final Field<T> field;
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java?rev=1141885&r1=1141884&r2=1141885&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealVectorFormat.java
Fri Jul  1 09:16:41 2011
@@ -42,8 +42,7 @@ import org.apache.commons.math.util.Comp
  * @since 2.0
  */
 public class RealVectorFormat {
-    /** Serializable version identifier */
-    private static final long serialVersionUID = -708767813036157690L;
+
     /** The default prefix: "{". */
     private static final String DEFAULT_PREFIX = "{";
     /** The default suffix: "}". */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java?rev=1141885&r1=1141884&r2=1141885&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/SparseFieldMatrix.java
Fri Jul  1 09:16:41 2011
@@ -28,8 +28,7 @@ import org.apache.commons.math.util.Open
  * @since 2.0
  */
 public class SparseFieldMatrix<T extends FieldElement<T>> extends AbstractFieldMatrix<T>
{
-    /** Serialization identifier. */
-    private static final long serialVersionUID = 9078068119297757342L;
+
     /** Storage for (sparse) matrix elements. */
     private final OpenIntToFieldHashMap<T> entries;
     /** Row dimension. */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/UniformRandomGenerator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/UniformRandomGenerator.java?rev=1141885&r1=1141884&r2=1141885&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/UniformRandomGenerator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/UniformRandomGenerator.java
Fri Jul  1 09:16:41 2011
@@ -33,9 +33,6 @@ import org.apache.commons.math.util.Fast
 
 public class UniformRandomGenerator implements NormalizedRandomGenerator {
 
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = 1569292426375546027L;
-
     /** Square root of three. */
     private static final double SQRT3 = FastMath.sqrt(3.0);
 

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java?rev=1141885&r1=1141884&r2=1141885&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java
Fri Jul  1 09:16:41 2011
@@ -27,8 +27,6 @@ import java.util.Locale;
  * @version $Id$
  */
 public class CompositeFormat {
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = 5358685519349262494L;
 
     /**
      * Class contains only static methods.



Mime
View raw message