Skip to content

Commit

Permalink
Should fix records ignoring type wrappers II
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Jul 22, 2024
1 parent b111e50 commit 226cb91
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ public TypeWrapperFactory<?> getWrapperFactory(@Nullable Object from, TypeInfo t

if (wrapper != null && wrapper.validator().isValid(from, target)) {
return wrapper.factory();
} else if (target instanceof TypeWrapperFactory<?> w) {
return w;
} else {
return null;
}
Expand Down

0 comments on commit 226cb91

Please sign in to comment.