cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/selection XPathExceptionSelector.java
Date Thu, 05 Feb 2004 12:17:16 GMT
cziegeler    2004/02/05 04:17:16

  Modified:    src/java/org/apache/cocoon/selection
                        XPathExceptionSelector.java
  Log:
  Don't use deprecated code anymore
  
  Revision  Changes    Path
  1.8       +3 -3      cocoon-2.2/src/java/org/apache/cocoon/selection/XPathExceptionSelector.java
  
  Index: XPathExceptionSelector.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/selection/XPathExceptionSelector.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XPathExceptionSelector.java	29 Dec 2003 15:24:35 -0000	1.7
  +++ XPathExceptionSelector.java	5 Feb 2004 12:17:16 -0000	1.8
  @@ -58,7 +58,7 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.commons.collections.SequencedHashMap;
  +import org.apache.commons.collections.map.LinkedMap;
   import org.apache.commons.jxpath.CompiledExpression;
   import org.apache.commons.jxpath.JXPathContext;
   
  @@ -107,7 +107,7 @@
           for (int i = 0; i < children.length; i++) {
               // Check if there are XPath-Expressions configured
               xPathChildren = children[i].getChildren("xpath");
  -            Map xPathMap = new SequencedHashMap(11);
  +            Map xPathMap = new LinkedMap(11);
   
               for (int j = 0; j < xPathChildren.length; j++) {
                   Configuration xPathChild = xPathChildren[j];
  
  
  

Mime
View raw message