lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject svn commit: r1579596 - /lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/RandomSamplingFacetsCollector.java
Date Thu, 20 Mar 2014 11:33:38 GMT
Author: shaie
Date: Thu Mar 20 11:33:38 2014
New Revision: 1579596

URL: http://svn.apache.org/r1579596
Log:
LUCENE-5476: use empty diamond

Modified:
    lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/RandomSamplingFacetsCollector.java

Modified: lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/RandomSamplingFacetsCollector.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/RandomSamplingFacetsCollector.java?rev=1579596&r1=1579595&r2=1579596&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/RandomSamplingFacetsCollector.java
(original)
+++ lucene/dev/trunk/lucene/facet/src/java/org/apache/lucene/facet/RandomSamplingFacetsCollector.java
Thu Mar 20 11:33:38 2014
@@ -153,7 +153,7 @@ public class RandomSamplingFacetsCollect
   
   /** Create a sampled copy of the matching documents list. */
   private List<MatchingDocs> createSampledDocs(List<MatchingDocs> matchingDocsList)
{
-    List<MatchingDocs> sampledDocsList = new ArrayList<MatchingDocs>(matchingDocsList.size());
+    List<MatchingDocs> sampledDocsList = new ArrayList<>(matchingDocsList.size());
     for (MatchingDocs docs : matchingDocsList) {
       sampledDocsList.add(createSample(docs));
     }



Mime
View raw message