Commit 68d67c7f by s_guodong

update

parent 833b8af5
...@@ -43,7 +43,10 @@ public class ValidatorUtil { ...@@ -43,7 +43,10 @@ public class ValidatorUtil {
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
} }
// 集合 // 集合
if (type.isAssignableFrom(List.class) && null != o) { if (type.isAssignableFrom(List.class)) {
if (o == null) {
continue;
}
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