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/stat Frequency.java
Date Wed, 02 Jun 2004 00:24:52 GMT
mdiggory    2004/06/01 17:24:52

  Modified:    math/src/java/org/apache/commons/math/stat Frequency.java
  Log:
  Adding serialversionUID to control versioning and allow for implementations that would like
to maintain serialization.
  
  Revision  Changes    Path
  1.22      +4 -1      jakarta-commons/math/src/java/org/apache/commons/math/stat/Frequency.java
  
  Index: Frequency.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/stat/Frequency.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Frequency.java	31 May 2004 20:57:12 -0000	1.21
  +++ Frequency.java	2 Jun 2004 00:24:52 -0000	1.22
  @@ -36,6 +36,9 @@
    */
   public class Frequency implements Serializable {
       
  +    /** Serializable version identifier */
  +    static final long serialVersionUID = -3845586908418844111L;
  +
       /** underlying collection */
       private SortedBag freqTable = null;
   
  
  
  

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