X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fcache%2FEhCache.java;h=6c262bf95d4ca049a558d0d5da89243110c63596;hb=17775e14ecfb286e59f67117e5cee7e21e95ab1f;hp=6a631866c109f405a0e47d10231da478ff006c01;hpb=12cfffc613724b7368016b5e3bc83a686d3a6733;p=utils diff --git a/support/general/src/main/java/org/wamblee/cache/EhCache.java b/support/general/src/main/java/org/wamblee/cache/EhCache.java index 6a631866..6c262bf9 100644 --- a/support/general/src/main/java/org/wamblee/cache/EhCache.java +++ b/support/general/src/main/java/org/wamblee/cache/EhCache.java @@ -1,5 +1,5 @@ /* - * Copyright 2005 the original author or authors. + * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,41 +12,41 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - + */ package org.wamblee.cache; -import java.io.IOException; -import java.io.InputStream; -import java.io.Serializable; - import net.sf.ehcache.Cache; import net.sf.ehcache.CacheException; import net.sf.ehcache.CacheManager; import net.sf.ehcache.Element; import org.apache.log4j.Logger; + import org.wamblee.io.InputResource; +import java.io.IOException; +import java.io.InputStream; +import java.io.Serializable; + /** * Cache implemented on top of EhCache. - * + * * @author Erik Brakkee + * */ public class EhCache - implements org.wamblee.cache.Cache { - + implements org.wamblee.cache.Cache { private static final Logger LOGGER = Logger.getLogger(EhCache.class); /** * EH Cache manager. */ - private CacheManager _manager; + private CacheManager manager; /** * EH cache. */ - private Cache _cache; + private Cache cache; /** * Constructs a cache based on EHCache. @@ -60,22 +60,23 @@ public class EhCache