mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 06:29:10 +00:00
SPR-8006
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:
Vendored
-6
@@ -63,12 +63,6 @@ public class EhCacheCache implements Cache<Object, Object> {
|
||||
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) {
|
||||
Element element = cache.get(key);
|
||||
return (element != null ? element.getObjectValue() : null);
|
||||
|
||||
Reference in New Issue
Block a user