You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2002/12/03 23:10:57 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/generation AbstractServerPage.java

sylvain     2002/12/03 14:10:57

  Modified:    src/java/org/apache/cocoon/generation Tag:
                        cocoon_2_0_3_branch AbstractServerPage.java
  Log:
  Fix a bug that prevents automatic recompilation of dynamically-generated XSPs
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.2   +2 -2      xml-cocoon2/src/java/org/apache/cocoon/generation/AbstractServerPage.java
  
  Index: AbstractServerPage.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/generation/AbstractServerPage.java,v
  retrieving revision 1.8.2.1
  retrieving revision 1.8.2.2
  diff -u -r1.8.2.1 -r1.8.2.2
  --- AbstractServerPage.java	11 Sep 2002 12:43:58 -0000	1.8.2.1
  +++ AbstractServerPage.java	3 Dec 2002 22:10:57 -0000	1.8.2.2
  @@ -108,7 +108,7 @@
        * since it was created
        */
       public boolean modifiedSince(long date) {
  -        if (dateCreated < date) {
  +        if (date == 0 || dateCreated < date) {
               return true;
           }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org