mirror of https://github.com/apache/lucene.git
correct copy-paste typo causing TestBasics to loop infinitely
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@290597 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f32d7e7786
commit
2007804589
|
@ -137,7 +137,7 @@ public class SpanNotQuery extends SpanQuery {
|
|||
clone.include = rewrittenInclude;
|
||||
}
|
||||
SpanQuery rewrittenExclude = (SpanQuery) exclude.rewrite(reader);
|
||||
if (rewrittenExclude != include) {
|
||||
if (rewrittenExclude != exclude) {
|
||||
if (clone == null) clone = (SpanNotQuery) this.clone();
|
||||
clone.exclude = rewrittenExclude;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue