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/04/02 23:16:50 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/map AbstractSortedMapDecorator.java
scolebourne 2004/04/02 13:16:50
Modified: collections/src/java/org/apache/commons/collections/map
AbstractSortedMapDecorator.java
Log:
Enable subclasses to be serializable
Revision Changes Path
1.5 +9 -1 jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractSortedMapDecorator.java
Index: AbstractSortedMapDecorator.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractSortedMapDecorator.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AbstractSortedMapDecorator.java 18 Feb 2004 01:13:19 -0000 1.4
+++ AbstractSortedMapDecorator.java 2 Apr 2004 21:16:50 -0000 1.5
@@ -39,6 +39,14 @@
extends AbstractMapDecorator implements SortedMap {
/**
+ * Constructor only used in deserialization, do not use otherwise.
+ * @since Commons Collections 3.1
+ */
+ protected AbstractSortedMapDecorator() {
+ super();
+ }
+
+ /**
* Constructor that wraps (not copies).
*
* @param map the map to decorate, must not be null
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org