sylvain     2002/12/03 14:11:26

  Modified:    src/java/org/apache/cocoon/generation
                        AbstractServerPage.java
  Log:
  Fix a bug that prevents automatic recompilation of dynamically-generated XSPs
  
  Revision  Changes    Path
  1.11      +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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AbstractServerPage.java   11 Sep 2002 12:44:09 -0000      1.10
  +++ AbstractServerPage.java   3 Dec 2002 22:11:26 -0000       1.11
  @@ -111,7 +111,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:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to