mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add setCaseInsensitive
This commit is contained in:
@@ -299,7 +299,7 @@ public abstract class AbsSetting implements OptNullBasicTypeFromStringGetter<Str
|
||||
* @since 5.0.6
|
||||
*/
|
||||
public <T> T toBean(String group, Class<T> beanClass) {
|
||||
return toBean(group, ReflectUtil.newInstance(beanClass));
|
||||
return toBean(group, ReflectUtil.newInstanceIfPossible(beanClass));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user