Commit 833b8af5 by s_guodong

update

parent e03b5355
...@@ -43,7 +43,7 @@ public class ValidatorUtil { ...@@ -43,7 +43,7 @@ public class ValidatorUtil {
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
} }
// 集合 // 集合
if (type.isAssignableFrom(List.class)) { if (type.isAssignableFrom(List.class) && null != o) {
List list = (List) o; List list = (List) o;
for (int i = 0; i < list.size(); i++) { for (int i = 0; i < list.size(); i++) {
Object e = list.get(i); Object e = list.get(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment