lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1238119 - /lucene/dev/trunk/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
Date Tue, 31 Jan 2012 00:50:59 GMT
Author: uschindler
Date: Tue Jan 31 00:50:58 2012
New Revision: 1238119

URL: http://svn.apache.org/viewvc?rev=1238119&view=rev
Log:
Remove redundant cast

Modified:
    lucene/dev/trunk/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java

Modified: lucene/dev/trunk/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java?rev=1238119&r1=1238118&r2=1238119&view=diff
==============================================================================
--- lucene/dev/trunk/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
(original)
+++ lucene/dev/trunk/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
Tue Jan 31 00:50:58 2012
@@ -66,7 +66,7 @@ public class TestNumericRangeFilterBuild
     try {
       AtomicReader reader = new SlowCompositeReaderWrapper(IndexReader.open(ramDir));
       try {
-        assertNull(filter.getDocIdSet((AtomicReaderContext) reader.getTopReaderContext(),
reader.getLiveDocs()));
+        assertNull(filter.getDocIdSet(reader.getTopReaderContext(), reader.getLiveDocs()));
       }
       finally {
         reader.close();



Mime
View raw message