You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by un...@apache.org on 2004/09/15 12:15:47 UTC

svn commit: rev 46105 - cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl

Author: unico
Date: Wed Sep 15 03:15:46 2004
New Revision: 46105

Modified:
   cocoon/branches/BRANCH_2_1_X/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/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java	(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java	Wed Sep 15 03:15:46 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);
 	}