You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by md...@apache.org on 2004/06/02 02:24:52 UTC
cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/stat Frequency.java
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