cziegeler    2004/02/05 04:16:58

  Modified:    src/java/org/apache/cocoon/selection
                        XPathExceptionSelector.java
  Log:
  Don't use deprecated code anymore
  
  Revision  Changes    Path
  1.7       +3 -3      
cocoon-2.1/src/java/org/apache/cocoon/selection/XPathExceptionSelector.java
  
  Index: XPathExceptionSelector.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/selection/XPathExceptionSelector.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XPathExceptionSelector.java       12 Aug 2003 06:01:40 -0000      1.6
  +++ XPathExceptionSelector.java       5 Feb 2004 12:16:58 -0000       1.7
  @@ -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;
   
  @@ -103,7 +103,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];
  
  
  

Reply via email to