cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/sitemap GenericProcessor.java
Date Tue, 28 Mar 2000 22:18:26 GMT
stefano     00/03/28 14:18:26

  Modified:    src/org/apache/cocoon/sitemap Tag: xml-cocoon2
                        GenericProcessor.java
  Log:
  fixes order of filters
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.9   +2 -2      xml-cocoon/src/org/apache/cocoon/sitemap/Attic/GenericProcessor.java
  
  Index: GenericProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/sitemap/Attic/GenericProcessor.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- GenericProcessor.java	2000/02/28 18:43:21	1.1.2.8
  +++ GenericProcessor.java	2000/03/28 22:18:24	1.1.2.9
  @@ -35,7 +35,7 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.2.8 $ $Date: 2000/02/28 18:43:21 $
  + * @version CVS $Revision: 1.1.2.9 $ $Date: 2000/03/28 22:18:24 $
    */
   public class GenericProcessor
   implements Composer, Configurable, Processor, LinkResolver {
  @@ -143,7 +143,7 @@
           t.setConsumer(s);
   
           XMLConsumer current=t;
  -        for (int x=0; x<this.filters.size(); x++) {
  +        for (int x=(this.filters.size()-1); x>=0; x--) {
               String k=(String)this.filters.elementAt(x);
               Filter f=(Filter)this.manager.getComponent(k);
               f.setup(req,res,src,(Parameters)this.filtersParam.elementAt(x));
  
  
  

Mime
View raw message