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:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to