Remove redundant generic spec.
This commit is contained in:
parent
5e4944286e
commit
8d595f3840
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue