lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r290597 - /lucene/java/trunk/src/java/org/apache/lucene/search/spans/SpanNotQuery.java
Date Wed, 21 Sep 2005 01:10:30 GMT
Author: ehatcher
Date: Tue Sep 20 18:10:27 2005
New Revision: 290597

URL: http://svn.apache.org/viewcvs?rev=290597&view=rev
Log:
correct copy-paste typo causing TestBasics to loop infinitely

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/spans/SpanNotQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/spans/SpanNotQuery.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/spans/SpanNotQuery.java?rev=290597&r1=290596&r2=290597&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/spans/SpanNotQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/spans/SpanNotQuery.java Tue Sep 20
18:10:27 2005
@@ -137,7 +137,7 @@
       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;
     }



Mime
View raw message