Removed unnecessary get call
This commit is contained in:
parent
ae09f85c9e
commit
40ec7116d8
|
@ -302,7 +302,6 @@ public class ChildrenQuery extends Query {
|
|||
}
|
||||
|
||||
HashedBytesArray uid = idTypeCache.idByDoc(currentDocId);
|
||||
currentScore = uidToScore.get(uid);
|
||||
if (uidToScore.containsKey(uid)) {
|
||||
// Can use lget b/c uidToScore is only used by one thread at the time (via CacheRecycler)
|
||||
currentScore = uidToScore.lget();
|
||||
|
|
Loading…
Reference in New Issue