mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
bugfix
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2133 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
cda087f43b
commit
545f81b317
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user