SPR-8023
- remove unneeded method


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4062 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Costin Leau 2011-03-06 11:43:25 +00:00
parent 8062b4ad59
commit 580d8024fd
1 changed files with 0 additions and 6 deletions

View File

@ -63,12 +63,6 @@ public class EhCacheCache implements Cache<Object, Object> {
return (element != null ? true : false); return (element != null ? true : false);
} }
public boolean containsValue(Object value) {
// force expiry check to guarantee a valid result (otherwise expired elements are considered)
cache.evictExpiredElements();
return cache.isValueInCache(value);
}
public Object get(Object key) { public Object get(Object key) {
Element element = cache.get(key); Element element = cache.get(key);
return (element != null ? element.getObjectValue() : null); return (element != null ? element.getObjectValue() : null);