Remove redundant generic spec.

This commit is contained in:
Gary Gregory 2019-12-20 10:59:59 -05:00
parent 5e4944286e
commit 8d595f3840
1 changed files with 1 additions and 1 deletions

View File

@ -1829,7 +1829,7 @@ public class CollectionUtils {
"The sum of start index and count can't be greater than the size of collection.");
}
Collection<E> result = new ArrayList<E>(count);
Collection<E> result = new ArrayList<>(count);
Iterator<E> iterator = input.iterator();
while (count > 0) {
if (startIndex > 0) {