Hi Andrew,

I am glad to see you back! Please see below:


[EMAIL PROTECTED] escribió:
Author: asavory
Date: Mon Jun  2 06:51:32 2008
New Revision: 662435

URL: http://svn.apache.org/viewvc?rev=662435&view=rev
Log:
COCOON-2152 apply fix from Ellis Pritchard; make samples work again



Modified: 
cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java
URL: 
http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/eventcache/java/org/apache/cocoon/caching/impl/EventAwareCacheImpl.java?rev=662435&r1=662434&r2=662435&view=diff
==============================================================================
--- 
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
 Mon Jun  2 06:51:32 2008
@@ -34,72 +39,83 @@
/** * This implementation holds all mappings between Events and PipelineCacheKeys - * in two MultiHashMap to facilitate efficient lookup by either as Key.
+ * in two MultiValueMaps to facilitate efficient lookup by either as Key.
* - * @author Geoff Howard ([EMAIL PROTECTED])
  * @version $Id$
  */
-public class EventAwareCacheImpl extends CacheImpl implements Initializable,
-                                                              EventAware {
- +public class EventAwareCacheImpl
+    extends CacheImpl
+    implements Initializable, Startable, EventAware {
+
     private ServiceManager m_manager;
- private EventRegistry m_eventRegistry;
+    private EventRegistry m_eventRegistry;
+
+    // clean-up thread
+    private static final Timer timer = new Timer("event-cache-checker",true);

The above constructor is since java 1.5. Would you change the code to run with java 1.4? Many thanks in advance. :)

Best Regards,

Antonio Gallardo.

Reply via email to