LUCENE-9002: Fix comment.

This commit is contained in:
Adrien Grand 2019-11-11 22:09:06 +01:00
parent 5c536506f9
commit c2a0b8275b
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public class LRUQueryCache implements QueryCache, Accountable {
this.maxSize = maxSize;
this.maxRamBytesUsed = maxRamBytesUsed;
this.leavesToCache = leavesToCache;
if (skipCacheFactor >= 1 == false) { // NaN >= 1 evaluates true
if (skipCacheFactor >= 1 == false) { // NaN >= 1 evaluates false
throw new IllegalArgumentException("skipCacheFactor must be no less than 1, get " + skipCacheFactor);
}
this.skipCacheFactor = skipCacheFactor;