Fix computeIf condition!!!!

This commit is contained in:
Reinhard Pointner 2016-03-09 16:02:31 +00:00
parent 7b7d6b36a8
commit 63fd9d77af
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class Cache {
Element element = null;
try {
element = cache.get(key);
if (condition.test(element)) {
if (!condition.test(element)) {
return getElementValue(element);
}
} catch (Exception e) {