Fix a woops in reflect util class Type

This commit is contained in:
Marc Baloup 2022-02-17 23:52:27 +01:00
parent efe388423c
commit da1abadd8a

View File

@ -174,7 +174,7 @@ public class Type implements Comparable<Type> {
/* package */ static List<Type> toTypeList(List<Object> paramsType) {
List<Type> types = new ArrayList<>(paramsType.size());
for (int i = 0; i < types.size(); i++) {
for (int i = 0; i < paramsType.size(); i++) {
Object param = paramsType.get(i);
try {
types.add(Type.toType(param));