lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r882807 - /lucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java
Date Sat, 21 Nov 2009 00:47:50 GMT
Author: uschindler
Date: Sat Nov 21 00:47:49 2009
New Revision: 882807

URL: http://svn.apache.org/viewvc?rev=882807&view=rev
Log:
this is never called, but should be the other way round

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java?rev=882807&r1=882806&r2=882807&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/NumericRangeQuery.java Sat Nov 21
00:47:49 2009
@@ -483,7 +483,7 @@
     @Override
     protected boolean endEnum() {
       assert false; // should never be called
-      return (currentTerm != null);
+      return (currentTerm == null);
     }
 
     /**



Mime
View raw message