Skip to content

Commit

Permalink
SPR-8006
Browse files Browse the repository at this point in the history
SPR-8023
- remove unneeded method


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4062 50f2f4bb-b051-0410-bef5-90022cba6387
  • Loading branch information
cleau committed Mar 6, 2011
1 parent 7afff28 commit 4cb2026
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ public boolean containsKey(Object key) {
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);
Expand Down

0 comments on commit 4cb2026

Please sign in to comment.