cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/input XMLFileModule.java
Date Fri, 07 Mar 2003 07:42:36 GMT
jefft       2003/03/06 23:42:36

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        XMLFileModule.java
  Log:
  Fix a bug where when an XMLFileModule's Source changed, the change only became
  apparent on the second subsequent XMLFileModule request.
  
  Revision  Changes    Path
  1.11      +2 -3      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
  
  Index: XMLFileModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XMLFileModule.java	7 Mar 2003 07:13:41 -0000	1.10
  +++ XMLFileModule.java	7 Mar 2003 07:42:36 -0000	1.11
  @@ -157,7 +157,6 @@
                   dom = this.document;
                   resolver.release(src);
               } else {
  -                dom = this.document;
                   if (this.reloadable) {
                       if (logger.isDebugEnabled())
                           logger.debug("document cached... checking validity of uri "+this.uri);
  @@ -171,6 +170,7 @@
                       }
                       resolver.release(src);
                   }
  +                dom = this.document;
               }
               if (!this.cachable) {
                   if (logger.isDebugEnabled())
  @@ -182,7 +182,6 @@
                   logger.debug("done with document... uri "+this.uri);
               return dom;
           }
  -
       }
   
   
  
  
  

Mime
View raw message