lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1555718 - /lucene/dev/branches/branch_4x/lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java
Date Mon, 06 Jan 2014 11:23:32 GMT
Author: mikemccand
Date: Mon Jan  6 11:23:32 2014
New Revision: 1555718

URL: http://svn.apache.org/r1555718
Log:
remove redundant cast

Modified:
    lucene/dev/branches/branch_4x/lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java

Modified: lucene/dev/branches/branch_4x/lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java?rev=1555718&r1=1555717&r2=1555718&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/facet/src/test/org/apache/lucene/facet/range/TestRangeFacetCounts.java
Mon Jan  6 11:23:32 2014
@@ -541,8 +541,8 @@ public class TestRangeFacetCounts extend
         // Must truncate to float precision so that the
         // drill-down counts (which use NRQ.newFloatRange)
         // are correct:
-        min = (double) (float) min;
-        max = (double) (float) max;
+        min = (float) min;
+        max = (float) max;
 
         boolean minIncl;
         boolean maxIncl;



Mime
View raw message