ghoward     2003/07/12 21:39:12

  Modified:    src/scratchpad/src/org/apache/cocoon/acting
                        CacheEventAction.java
  Log:
  clean up
  
  Revision  Changes    Path
  1.3       +6 -6      
cocoon-2.1/src/scratchpad/src/org/apache/cocoon/acting/CacheEventAction.java
  
  Index: CacheEventAction.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/scratchpad/src/org/apache/cocoon/acting/CacheEventAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CacheEventAction.java     1 Jul 2003 13:53:33 -0000       1.2
  +++ CacheEventAction.java     13 Jul 2003 04:39:12 -0000      1.3
  @@ -64,9 +64,8 @@
   
   /**
    * Very experimental start at external cache invalidation.
  - * Warning - API very unstable.  Do not use!  In fact, if this 
  - * becomes useful, it would probably move to Excalibur SourceResolve.
  - *
  + * Warning - API very unstable.  Do not use!  
  + * 
    * Simple action to cause notification of a NamedEvent to an EventAwareCacheImpl.
    * The event name is taken from a sitemap parameter named "event".
    * 
  @@ -76,7 +75,7 @@
    * This is used in the Event based cache example. 
    * 
    * @author Geoff Howard ([EMAIL PROTECTED])
  - * @version $CVS$
  + * @version CVS $Id$
    */
   public class CacheEventAction extends ComposerAction implements ThreadSafe {
   
  @@ -100,9 +99,10 @@
               if (eventName == null || "".equals(eventName)) {
                   return null;
               }
  -            ((EventAwareCacheImpl)cache).processEvent(new NamedEvent(eventName));
  +            ((EventAwareCacheImpl)cache).processEvent(
  +                                                new NamedEvent(eventName));
           }
  -        this.manager.release( cache );
  +        this.manager.release(cache);
           return EMPTY_MAP;
       }
   }
  
  
  

Reply via email to