Skip to content

Commit

Permalink
Fix recusrion (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Sep 20, 2022
1 parent 779f38a commit f4e745b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private boolean isNotNull(Object thing, Field field) {
private boolean isBaseType(Object value) {
Class<?> type = value instanceof Field ? ((Field) value).getType() : value.getClass();
return type.isPrimitive()
|| type.isEnum()
|| Boolean.class.isAssignableFrom(type)
|| Integer.class.isAssignableFrom(type)
|| String.class.isAssignableFrom(type)
Expand Down

0 comments on commit f4e745b

Please sign in to comment.