mirror of https://github.com/apache/lucene.git
LUCENE-8075: Removed unnecessary null check in core/src/java/org/apache/lucene/codecs/blocktree/IntersectTermsEnum.java.
Closes #286 Signed-off-by: Adrien Grand <jpountz@gmail.com>
This commit is contained in:
parent
838c604b76
commit
2432bdebe3
|
@ -137,6 +137,9 @@ Other
|
|||
* LUCENE-8106: Add script (reproduceJenkinsFailures.py) to attempt to reproduce
|
||||
failing tests from a Jenkins log. (Steve Rowe)
|
||||
|
||||
* LUCENE-8075: Removed unnecessary null check in IntersectTermsEnum.
|
||||
(Pulak Ghosh via Adrien Grand)
|
||||
|
||||
======================= Lucene 7.2.0 =======================
|
||||
|
||||
API Changes
|
||||
|
|
|
@ -103,11 +103,8 @@ final class IntersectTermsEnum extends TermsEnum {
|
|||
arcs[arcIdx] = new FST.Arc<>();
|
||||
}
|
||||
|
||||
if (fr.index == null) {
|
||||
fstReader = null;
|
||||
} else {
|
||||
fstReader = fr.index.getBytesReader();
|
||||
}
|
||||
|
||||
fstReader = fr.index.getBytesReader();
|
||||
|
||||
// TODO: if the automaton is "smallish" we really
|
||||
// should use the terms index to seek at least to
|
||||
|
|
Loading…
Reference in New Issue