mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -77,9 +77,7 @@ public class JSONConverter implements Converter<JSON> {
|
||||
}
|
||||
}
|
||||
|
||||
final T targetValue = ignoreError ?
|
||||
Convert.convertQuietly(targetType, value):
|
||||
Convert.convert(targetType, value);
|
||||
final T targetValue = Convert.convertWithCheck(targetType, value, null, ignoreError);
|
||||
|
||||
if (null == targetValue && false == ignoreError) {
|
||||
if (StrUtil.isBlankIfStr(value)) {
|
||||
|
Reference in New Issue
Block a user