cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r360452 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/acting/AbstractAction.java
Date Sat, 31 Dec 2005 21:55:11 GMT
Author: antonio
Date: Sat Dec 31 13:55:09 2005
New Revision: 360452

URL: http://svn.apache.org/viewcvs?rev=360452&view=rev
Log:
Support pre jdk1.3 is already dropped

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/acting/AbstractAction.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/acting/AbstractAction.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/acting/AbstractAction.java?rev=360452&r1=360451&r2=360452&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/acting/AbstractAction.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/acting/AbstractAction.java Sat
Dec 31 13:55:09 2005
@@ -19,7 +19,6 @@
 
 import java.util.Collections;
 import java.util.Map;
-import java.util.TreeMap;
 
 /**
  * AbstractAction gives you the infrastructure for easily deploying more
@@ -27,15 +26,13 @@
  *
  * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  * @author <a href="mailto:haul@apache.org">Christian Haul</a>
- * @version CVS $Id: AbstractAction.java,v 1.3 2004/03/05 13:02:42 bdelacretaz Exp $
+ * @version CVS $Id$
  */
 public abstract class AbstractAction extends AbstractLogEnabled
     implements Action {
 
     /**
-     * Empty unmodifiable map. Replace with Collections.EMPTY_MAP when
-     * pre-jdk1.3 support is dropped.
+     * Empty unmodifiable map.
      */
-    protected static final Map EMPTY_MAP = Collections.unmodifiableMap(new TreeMap());
-
+    protected static final Map EMPTY_MAP = Collections.EMPTY_MAP;
 }



Mime
View raw message