commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1227477 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform: FastCosineTransformer.java FastFourierTransformer.java FastHadamardTransformer.java FastSineTransformer.java TransformUtils.java
Date Thu, 05 Jan 2012 04:15:09 GMT
Author: celestin
Date: Thu Jan  5 04:15:09 2012
New Revision: 1227477

URL: http://svn.apache.org/viewvc?rev=1227477&view=rev
Log:
Updated serialVersionUID. Related to MATH-677.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastFourierTransformer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/TransformUtils.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java?rev=1227477&r1=1227476&r2=1227477&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastCosineTransformer.java
Thu Jan  5 04:15:09 2012
@@ -16,6 +16,8 @@
  */
 package org.apache.commons.math.transform;
 
+import java.io.Serializable;
+
 import org.apache.commons.math.analysis.FunctionUtils;
 import org.apache.commons.math.analysis.UnivariateFunction;
 import org.apache.commons.math.complex.Complex;
@@ -110,7 +112,11 @@ import org.apache.commons.math.util.Fast
  * @version $Id$
  * @since 1.2
  */
-public class FastCosineTransformer implements RealTransformer {
+public class FastCosineTransformer implements RealTransformer, Serializable {
+
+    /** Serializable version identifier. */
+    static final long serialVersionUID = 20120501L;
+
     /**
      * {@code true} if the orthogonal version of the DCT should be used.
      *

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastFourierTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastFourierTransformer.java?rev=1227477&r1=1227476&r2=1227477&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastFourierTransformer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastFourierTransformer.java
Thu Jan  5 04:15:09 2012
@@ -89,7 +89,7 @@ import org.apache.commons.math.util.Fast
 public class FastFourierTransformer implements Serializable {
 
     /** Serializable version identifier. */
-    static final long serialVersionUID = 5138259215438106000L;
+    static final long serialVersionUID = 20120501L;
 
     /**
      * {@code true} if the unitary version of the DFT should be used.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java?rev=1227477&r1=1227476&r2=1227477&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastHadamardTransformer.java
Thu Jan  5 04:15:09 2012
@@ -16,6 +16,8 @@
  */
 package org.apache.commons.math.transform;
 
+import java.io.Serializable;
+
 import org.apache.commons.math.analysis.FunctionUtils;
 import org.apache.commons.math.analysis.UnivariateFunction;
 import org.apache.commons.math.exception.MathIllegalArgumentException;
@@ -35,7 +37,10 @@ import org.apache.commons.math.util.Arit
  * @version $Id$
  * @since 2.0
  */
-public class FastHadamardTransformer implements RealTransformer {
+public class FastHadamardTransformer implements RealTransformer, Serializable {
+
+    /** Serializable version identifier. */
+    static final long serialVersionUID = 20120501L;
 
     /**
      * {@inheritDoc}

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java?rev=1227477&r1=1227476&r2=1227477&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/FastSineTransformer.java
Thu Jan  5 04:15:09 2012
@@ -16,6 +16,8 @@
  */
 package org.apache.commons.math.transform;
 
+import java.io.Serializable;
+
 import org.apache.commons.math.analysis.FunctionUtils;
 import org.apache.commons.math.analysis.UnivariateFunction;
 import org.apache.commons.math.complex.Complex;
@@ -110,7 +112,11 @@ import org.apache.commons.math.util.Fast
  * @version $Id: FastSineTransformer.java 1213157 2011-12-12 07:19:23Z celestin$
  * @since 1.2
  */
-public class FastSineTransformer implements RealTransformer {
+public class FastSineTransformer implements RealTransformer, Serializable {
+
+    /** Serializable version identifier. */
+    static final long serialVersionUID = 20120501L;
+
     /**
      * {@code true} if the orthogonal version of the DCT should be used.
      *

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/TransformUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/TransformUtils.java?rev=1227477&r1=1227476&r2=1227477&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/TransformUtils.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/transform/TransformUtils.java
Thu Jan  5 04:15:09 2012
@@ -21,7 +21,7 @@ import org.apache.commons.math.complex.C
 /**
  * Useful functions for the implementation of various transforms.
  *
- * @version $Id $
+ * @version $Id$
  * @since 3.0
  */
 public class TransformUtils {



Mime
View raw message