diff --git a/hutool-core/src/main/java/cn/hutool/core/convert/ConverterRegistry.java b/hutool-core/src/main/java/cn/hutool/core/convert/ConverterRegistry.java index 41c262934..abc55ab2d 100755 --- a/hutool-core/src/main/java/cn/hutool/core/convert/ConverterRegistry.java +++ b/hutool-core/src/main/java/cn/hutool/core/convert/ConverterRegistry.java @@ -344,7 +344,7 @@ public class ConverterRegistry implements Serializable { // 空值转空Bean if(ObjectUtil.isEmpty(value)){ // issue#3649 空值转空对象,则直接实例化 - return (T) ReflectUtil.newInstanceIfPossible(rowType); + return ReflectUtil.newInstanceIfPossible(rowType); } // 表示非需要特殊转换的对象