cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/sitemap SelectNode.java
Date Sat, 31 Jan 2004 16:57:53 GMT
unico       2004/01/31 08:57:53

  Modified:    src/java/org/apache/cocoon/components/cprocessor/sitemap
                        SelectNode.java
  Log:
  use utility function
  
  Revision  Changes    Path
  1.3       +2 -3      cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/sitemap/SelectNode.java
  
  Index: SelectNode.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/cprocessor/sitemap/SelectNode.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SelectNode.java	26 Jan 2004 15:44:59 -0000	1.2
  +++ SelectNode.java	31 Jan 2004 16:57:52 -0000	1.3
  @@ -116,8 +116,7 @@
           m_whenNodes = (ProcessingNode[][]) nodes.toArray(new ProcessingNode[tests.size()][0]);
           
           // <otherwise> clause
  -        nodes = getChildNodesList(config.getChild("otherwise"));
  -        m_otherwiseNodes = (ProcessingNode[]) nodes.toArray(new ProcessingNode[nodes.size()]);
  +        m_otherwiseNodes = getChildNodes(config.getChild("otherwise"));
       }
       
       public void initialize() throws Exception {
  
  
  

Mime
View raw message