commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdigg...@apache.org
Subject cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/util ContinuedFraction.java
Date Wed, 02 Jun 2004 00:04:11 GMT
mdiggory    2004/06/01 17:04:11

  Modified:    math/src/java/org/apache/commons/math/util
                        ContinuedFraction.java
  Log:
  Adding serialversionUID to control versioning and allow for implementations that would like
to maintain serialization.
  
  Revision  Changes    Path
  1.13      +5 -1      jakarta-commons/math/src/java/org/apache/commons/math/util/ContinuedFraction.java
  
  Index: ContinuedFraction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/util/ContinuedFraction.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ContinuedFraction.java	26 Apr 2004 20:47:07 -0000	1.12
  +++ ContinuedFraction.java	2 Jun 2004 00:04:11 -0000	1.13
  @@ -35,6 +35,10 @@
    * @version $Revision$ $Date$
    */
   public abstract class ContinuedFraction implements Serializable {
  +    
  +    /** Serialization UID */
  +    static final long serialVersionUID = 1768555336266158242L;
  +    
       /** Maximum allowed numerical error. */
       private static final double DEFAULT_EPSILON = 10e-9;
   
  
  
  

---------------------------------------------------------------------
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