From: Tim P <ti...@us...> - 2008-03-20 10:19:55
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/resource In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29783/src/org/webmacro/resource Modified Files: SimpleCacheManager.java Log Message: Checkstyle: organise imports Index: SimpleCacheManager.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/resource/SimpleCacheManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SimpleCacheManager.java 30 Jul 2003 02:28:14 -0000 1.2 --- SimpleCacheManager.java 20 Mar 2008 10:19:51 -0000 1.3 *************** *** 1,16 **** package org.webmacro.resource; ! import java.util.*; - import org.webmacro.Log; import org.webmacro.Broker; import org.webmacro.InitException; import org.webmacro.ResourceException; import org.webmacro.util.Settings; import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; /** ! * SimpleCacheManager -- a basic cache manager backed by ConcurrentHashMap which does not support reloading, ! * or expiration * * @author Brian Goetz --- 1,17 ---- package org.webmacro.resource; ! import java.util.Map; import org.webmacro.Broker; import org.webmacro.InitException; + import org.webmacro.Log; import org.webmacro.ResourceException; import org.webmacro.util.Settings; + import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; /** ! * SimpleCacheManager -- a basic cache manager backed by ConcurrentHashMap ! * which does not support reloading, or expiration. * * @author Brian Goetz *************** *** 80,84 **** /** ! * Put an object in the cache */ public void put(final Object query, Object resource) { --- 81,85 ---- /** ! * Put an object in the cache. */ public void put(final Object query, Object resource) { *************** *** 87,91 **** /** ! * Remove an element */ public void invalidate(final Object query) { --- 88,92 ---- /** ! * Remove an element. */ public void invalidate(final Object query) { |