From 63fd9d77af516a2210b0afbc4c29a4a98b6b1e78 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 9 Mar 2016 16:02:31 +0000 Subject: [PATCH] Fix computeIf condition!!!! --- source/net/filebot/Cache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/Cache.java b/source/net/filebot/Cache.java index e67f6060..fdfab325 100644 --- a/source/net/filebot/Cache.java +++ b/source/net/filebot/Cache.java @@ -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) {