diff --git a/source/de/anomic/kelondro/kelondroObjectCache.java b/source/de/anomic/kelondro/kelondroObjectCache.java index ee036e8bd..518dc9163 100644 --- a/source/de/anomic/kelondro/kelondroObjectCache.java +++ b/source/de/anomic/kelondro/kelondroObjectCache.java @@ -184,12 +184,13 @@ public class kelondroObjectCache { public Object get(byte[] key) { if (key == null) return null; - Object r = cache.get(new String(key)); + String keys = new String(key); + Object r = cache.get(keys); flushc(); if (r == null) { this.readMiss++; } else { - hasnot.deleteScore(key); + hasnot.deleteScore(keys); this.readHit++; } return r;