mirror of https://github.com/apache/lucene.git
LUCENE-5476: use empty diamond
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e50b392f46
commit
d26adaaeac
|
@ -153,7 +153,7 @@ public class RandomSamplingFacetsCollector extends FacetsCollector {
|
|||
|
||||
/** 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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue