git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2133 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2006-05-23 16:48:21 +00:00
parent cda087f43b
commit 545f81b317

View File

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