mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
3da217a627
commit
a7bf5abfa9
@ -85,7 +85,7 @@ public class BeanToMapCopier extends AbsCopier<Object, Map> {
|
|||||||
|
|
||||||
// 获取目标值真实类型并转换源值
|
// 获取目标值真实类型并转换源值
|
||||||
final Type[] typeArguments = TypeUtil.getTypeArguments(this.targetType);
|
final Type[] typeArguments = TypeUtil.getTypeArguments(this.targetType);
|
||||||
if(null != typeArguments){
|
if(null != typeArguments && typeArguments.length > 1){
|
||||||
//sValue = Convert.convertWithCheck(typeArguments[1], sValue, null, this.copyOptions.ignoreError);
|
//sValue = Convert.convertWithCheck(typeArguments[1], sValue, null, this.copyOptions.ignoreError);
|
||||||
sValue = this.copyOptions.convertField(typeArguments[1], sValue);
|
sValue = this.copyOptions.convertField(typeArguments[1], sValue);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user