cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upayav...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/bean CocoonBean.java
Date Fri, 17 Oct 2003 14:08:30 GMT
upayavira    2003/10/17 07:08:30

  Modified:    src/java/org/apache/cocoon/bean CocoonBean.java
  Log:
  Fixing problem where checksum-uri node not present causes failure
  
  Revision  Changes    Path
  1.37      +7 -3      cocoon-2.1/src/java/org/apache/cocoon/bean/CocoonBean.java
  
  Index: CocoonBean.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/bean/CocoonBean.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- CocoonBean.java	13 Oct 2003 12:08:10 -0000	1.36
  +++ CocoonBean.java	17 Oct 2003 14:08:29 -0000	1.37
  @@ -368,7 +368,9 @@
               this.initialize();
           }
   
  -        readChecksumFile();
  +        if (this.checksumsURI != null) {
  +            readChecksumFile();
  +        }
           
           if (crawler.getRemainingCount()==0) {
               super.precompile();
  @@ -384,7 +386,9 @@
               }
           }
           
  -        writeChecksumFile();
  +        if (this.checksumsURI != null) {
  +            writeChecksumFile();
  +        }
           
           if (log.isInfoEnabled()) {
                 log.info(
  
  
  

Mime
View raw message