array list arg

This commit is contained in:
Shaun Chyxion 2018-03-18 12:29:03 +08:00
parent afda15a299
commit ace2e1cd34

View File

@ -528,7 +528,7 @@ public class Search implements Serializable {
List<Object> toList(Object source) {
final int length = Array.getLength(source);
final List<Object> list = new ArrayList<>(length);
final List<Object> list = new ArrayList<Object>(length);
for (int i = 0; i < length; ++i) {
list.add(Array.get(source, i));
}