Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher/cache
In directory james.mmbase.org:/tmp/cvs-serv14632/publisher/cache

Modified Files:
        DefaultCache.java 
Log Message:
CMSC-725 ,Newsletter Statistic


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher/cache
See also: http://www.mmbase.org/jira/browse/CMSC-725


Index: DefaultCache.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher/cache/DefaultCache.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DefaultCache.java   20 May 2008 05:09:21 -0000      1.1
+++ DefaultCache.java   20 May 2008 05:29:01 -0000      1.2
@@ -27,10 +27,7 @@
        
      //        implement the interface 
        public DefaultCache(long time) {        
-               datas = Collections.synchronizedMap(new HashMap<String, 
CacheInfo>());          
-               TimerTask task = new CacheFreshTask(this);
-               timer = new Timer("Cache_Timer", true);
-               timer.scheduleAtFixedRate(task, 1000, FreshTimerIntervalSeconds 
* 1000);        
+      this();  
                this.time=time;                 
        }
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to