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:
Shai Erera 2014-03-20 11:33:38 +00:00
parent e50b392f46
commit d26adaaeac
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}