mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
!113 fix:AbsSetting.getStr
Merge pull request !113 from SandKing/v5-dev
This commit is contained in:
commit
887a2634e9
@ -46,7 +46,7 @@ public abstract class AbsSetting implements OptNullBasicTypeFromStringGetter<Str
|
||||
*/
|
||||
public String getStr(String key, String group, String defaultValue) {
|
||||
final String value = getByGroup(key, group);
|
||||
if (StrUtil.isBlank(value)) {
|
||||
if (value == null) {
|
||||
return defaultValue;
|
||||
}
|
||||
return value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user