Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

bugfix

orbiter545f81b317e6
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;