cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: rev 46104 - cocoon/trunk/src/blocks/eventcache/java/org/apache/cocoon/caching/impl
Date Wed, 15 Sep 2004 10:15:39 GMT
Author: unico
Date: Wed Sep 15 03:15:37 2004
New Revision: 46104

Modified:
   cocoon/trunk/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
Log:
apply patch by Oliver Powell (oliver.powell <at> tvnz <dot> co <dot> nz)
fixing bugzilla bug 31234: Event Aware cache does not remove registry key


Modified: cocoon/trunk/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
==============================================================================
--- cocoon/trunk/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
(original)
+++ cocoon/trunk/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
Wed Sep 15 03:15:37 2004
@@ -25,7 +25,6 @@
 import org.apache.cocoon.caching.CachedResponse;
 import org.apache.cocoon.caching.EventAware;
 import org.apache.cocoon.caching.EventRegistry;
-import org.apache.cocoon.caching.PipelineCacheKey;
 import org.apache.cocoon.caching.validity.Event;
 import org.apache.cocoon.caching.validity.EventValidity;
 import org.apache.excalibur.source.SourceValidity;
@@ -36,7 +35,7 @@
  * in two MultiHashMap to facilitate efficient lookup by either as Key.
  * 
  * @author Geoff Howard (ghoward@apache.org)
- * @version $Id: EventAwareCacheImpl.java,v 1.9 2004/03/05 13:01:56 bdelacretaz Exp $
+ * @version $Id$
  */
 public class EventAwareCacheImpl extends CacheImpl implements Initializable,
                                                               EventAware {
@@ -95,7 +94,7 @@
      * Un-register this key in the EventRegistry in addition to 
      * removing it from the Store
 	 */
-	public void remove(PipelineCacheKey key) {
+	public void remove(Serializable key) {
 		super.remove(key);
         m_eventRegistry.removeKey(key);
 	}

Mime
View raw message