cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/caching CacheValidity.java
Date Wed, 23 Oct 2002 03:12:08 GMT
vgritsenko    2002/10/22 20:12:08

  Modified:    src/java/org/apache/cocoon/caching CacheValidity.java
  Log:
  Document required toString() method
  
  Revision  Changes    Path
  1.7       +12 -2     xml-cocoon2/src/java/org/apache/cocoon/caching/CacheValidity.java
  
  Index: CacheValidity.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/caching/CacheValidity.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CacheValidity.java	28 May 2002 07:11:43 -0000	1.6
  +++ CacheValidity.java	23 Oct 2002 03:12:07 -0000	1.7
  @@ -50,6 +50,8 @@
   */
   package org.apache.cocoon.caching;
   
  +import java.io.Serializable;
  +
   /**
    * A CacheValidity object contains all information for one pipeline component
    * to check if it is still valid.<br>
  @@ -60,7 +62,7 @@
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
    * @version CVS $Id$
    */
  -public interface CacheValidity extends java.io.Serializable {
  +public interface CacheValidity extends Serializable {
   
       /**
        * Check if the component is still valid.
  @@ -68,4 +70,12 @@
        * type and has the same values.
        */
       boolean isValid(CacheValidity validity);
  +
  +    /**
  +     * Creates text represenation of the validity object.
  +     * This is used to create fake 'lastModificationDate' for cocoon: sources.
  +     * <p>Due to changes in source API, this method is no longer needed,
  +     * starting with Cocoon 2.1.
  +     */
  +    String toString();
   }
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message