X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fcache%2FEhCache.java;h=9c32dda8b932329271e63b1d8507e3ff5cd733db;hb=2e7fbe1e64c571003cd859d520dea1286c3b21e3;hp=dd01cd94a9d000a46aae53b1ea93bca50cce894b;hpb=f4d446b84fa1a38ed83cd157f79fdb8233822145;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 dd01cd94..9c32dda8 100644 --- a/support/general/src/main/java/org/wamblee/cache/EhCache.java +++ b/support/general/src/main/java/org/wamblee/cache/EhCache.java @@ -1,18 +1,18 @@ /* - * 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. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * 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 net.sf.ehcache.Cache; @@ -20,29 +20,23 @@ 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; - +import java.util.logging.Logger; /** * Cache implemented on top of EhCache. - * + * * @author Erik Brakkee - * - * @param DOCUMENT ME! - * @param DOCUMENT ME! + * */ public class EhCache implements org.wamblee.cache.Cache { - /** - * DOCUMENT ME! - */ - private static final Logger LOGGER = Logger.getLogger(EhCache.class); + private static final Logger LOGGER = Logger.getLogger(EhCache.class.getName()); /** * EH Cache manager. @@ -54,9 +48,9 @@ public class EhCache