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/generators DirectoryGenerator.java
Date Sun, 19 Mar 2000 01:08:47 GMT
stefano     00/03/18 17:08:47

  Modified:    src/org/apache/cocoon/generators Tag: xml-cocoon2
                        DirectoryGenerator.java
  Log:
  first bugfix of the new tree :) Thanks to Giacomo for this!
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +8 -8      xml-cocoon/src/org/apache/cocoon/generators/Attic/DirectoryGenerator.java
  
  Index: DirectoryGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/generators/Attic/DirectoryGenerator.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- DirectoryGenerator.java	2000/02/27 12:56:17	1.1.2.1
  +++ DirectoryGenerator.java	2000/03/19 01:08:47	1.1.2.2
  @@ -19,7 +19,7 @@
    *
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
  - * @version CVS $Revision: 1.1.2.1 $ $Date: 2000/02/27 12:56:17 $
  + * @version CVS $Revision: 1.1.2.2 $ $Date: 2000/03/19 01:08:47 $
    */
   public class DirectoryGenerator extends ComposerGenerator {
   
  @@ -44,11 +44,11 @@
           this.contentHandler.startDocument();
           this.contentHandler.startPrefixMapping("",URI);
           AttributesImpl attr=new AttributesImpl();
  -        
  +
           this.attribute(attr,"name",d.getName()+"/");
           this.start("directory",attr);
           this.data("\n");
  -        
  +
           String c[]=d.list();
           for (int x=0; x<c.length; x++) {
               File f=new File(d,c[x]);
  @@ -66,18 +66,18 @@
               }
               this.data("\n");
           }
  -        
  -        this.end("directoty");
  +
  +        this.end("directory");
   
           // Finish
           this.contentHandler.endPrefixMapping("");
           this.contentHandler.endDocument();
       }
  -    
  +
       private void attribute(AttributesImpl attr, String name, String value) {
           attr.addAttribute("",name,name,"CDATA",value);
       }
  -    
  +
       private void start(String name, AttributesImpl attr)
       throws SAXException {
           super.contentHandler.startElement(URI,name,name,attr);
  @@ -88,7 +88,7 @@
       throws SAXException {
           super.contentHandler.endElement(URI,name,name);
       }
  -    
  +
       private void data(String data)
       throws SAXException {
           super.contentHandler.characters(data.toCharArray(),0,data.length());
  
  
  

Mime
View raw message