commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r506601 - in /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math: random/JDKRandomGenerator.java random/RandomAdaptor.java special/Beta.java special/Erf.java
Date Mon, 12 Feb 2007 19:37:50 GMT
Author: luc
Date: Mon Feb 12 11:37:49 2007
New Revision: 506601

URL: http://svn.apache.org/viewvc?view=rev&rev=506601
Log:
fixed some missing serialVersionUID

Modified:
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/JDKRandomGenerator.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomAdaptor.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Beta.java
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Erf.java

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/JDKRandomGenerator.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/JDKRandomGenerator.java?view=diff&rev=506601&r1=506600&r2=506601
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/JDKRandomGenerator.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/JDKRandomGenerator.java
Mon Feb 12 11:37:49 2007
@@ -26,4 +26,6 @@
  * @version $Revision:$ $Date$
  */
 public class JDKRandomGenerator extends Random implements RandomGenerator {
+    /** Serializable version identifier */
+    private static final long serialVersionUID = -3561898582944940550L;
 }

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomAdaptor.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomAdaptor.java?view=diff&rev=506601&r1=506600&r2=506601
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomAdaptor.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/random/RandomAdaptor.java
Mon Feb 12 11:37:49 2007
@@ -27,6 +27,9 @@
  */
 public class RandomAdaptor extends Random implements RandomGenerator {
     
+    /** Serializable version identifier */
+    private static final long serialVersionUID = 2570805822599485047L;
+
     /** Wrapped randomGenerator instance */
     private RandomGenerator randomGenerator = null;
     

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Beta.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Beta.java?view=diff&rev=506601&r1=506600&r2=506601
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Beta.java (original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Beta.java Mon
Feb 12 11:37:49 2007
@@ -28,6 +28,10 @@
  * @version $Revision$ $Date$
  */
 public class Beta implements Serializable {
+
+    /** Serializable version identifier */
+    private static final long serialVersionUID = -3833485397404128220L;
+
     /** Maximum allowed numerical error. */
     private static final double DEFAULT_EPSILON = 10e-9;
 
@@ -127,6 +131,9 @@
             ret = 1.0 - regularizedBeta(1.0 - x, b, a, epsilon, maxIterations);
         } else {
             ContinuedFraction fraction = new ContinuedFraction() {
+
+                private static final long serialVersionUID = -7658917278956100597L;
+
                 protected double getB(int n, double x) {
                     double ret;
                     double m;

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Erf.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Erf.java?view=diff&rev=506601&r1=506600&r2=506601
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Erf.java (original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Erf.java Mon
Feb 12 11:37:49 2007
@@ -28,6 +28,9 @@
  */
 public class Erf implements Serializable {
 
+    /** Serializable version identifier */
+    private static final long serialVersionUID = 490960015010326571L;
+
     /**
      * Default constructor.  Prohibit instantiation.
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message