mirror of https://github.com/apache/lucene.git
LUCENE-9002: Fix comment.
This commit is contained in:
parent
5c536506f9
commit
c2a0b8275b
lucene/core/src/java/org/apache/lucene/search
|
@ -124,7 +124,7 @@ public class LRUQueryCache implements QueryCache, Accountable {
|
||||||
this.maxSize = maxSize;
|
this.maxSize = maxSize;
|
||||||
this.maxRamBytesUsed = maxRamBytesUsed;
|
this.maxRamBytesUsed = maxRamBytesUsed;
|
||||||
this.leavesToCache = leavesToCache;
|
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);
|
throw new IllegalArgumentException("skipCacheFactor must be no less than 1, get " + skipCacheFactor);
|
||||||
}
|
}
|
||||||
this.skipCacheFactor = skipCacheFactor;
|
this.skipCacheFactor = skipCacheFactor;
|
||||||
|
|
Loading…
Reference in New Issue