This commit is contained in:
Looly
2022-02-13 19:09:36 +08:00
parent cedbc88571
commit c83e2ce380
4 changed files with 67 additions and 6 deletions

View File

@@ -135,7 +135,7 @@ public class ConverterRegistry implements Serializable {
ServiceLoaderUtil.load(Converter.class).forEach(converter -> {
try {
Type type = TypeUtil.getTypeArgument(ClassUtil.getClass(converter));
if(null != type){
if (null != type) {
putCustom(type, converter);
}
} catch (Exception e) {
@@ -266,7 +266,6 @@ public class ConverterRegistry implements Serializable {
}
}
// 特殊类型转换包括Collection、Map、强转、Array等
final T result = convertSpecial(type, rowType, value, defaultValue);
if (null != result) {