You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/06/03 00:00:47 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/set MapBackedSet.java
scolebourne 2004/06/02 15:00:47
Modified: collections/src/java/org/apache/commons/collections/set
MapBackedSet.java
Log:
Make serializable
Revision Changes Path
1.2 +7 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/set/MapBackedSet.java
Index: MapBackedSet.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/MapBackedSet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MapBackedSet.java 20 Apr 2004 23:51:31 -0000 1.1
+++ MapBackedSet.java 2 Jun 2004 22:00:47 -0000 1.2
@@ -15,6 +15,7 @@
*/
package org.apache.commons.collections.set;
+import java.io.Serializable;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
@@ -35,8 +36,11 @@
*
* @author Stephen Colebourne
*/
-public final class MapBackedSet implements Set {
-
+public final class MapBackedSet implements Set, Serializable {
+
+ /** Serialization version */
+ private static final long serialVersionUID = 6723912213766056587L;
+
/** The map being used as the backing store */
protected final Map map;
/** The dummyValue to use */
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org