mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
Merge branch 'v5-dev' of https://gitee.com/hellozrh/hutool into v5-dev
This commit is contained in:
commit
e3a97c1a21
@ -3,7 +3,7 @@
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# 5.8.5.M1 (2022-07-20)
|
||||
# 5.8.5.M1 (2022-07-21)
|
||||
|
||||
### ❌不兼容特性
|
||||
* 【core 】 合成注解相关功能重构,增加@Link及其子注解(pr#702@Gitee)
|
||||
@ -36,6 +36,7 @@
|
||||
* 【core 】 修复Dict缺少putIfAbsent、computeIfAbsent问题(issue#I5FQGW@Gitee)
|
||||
* 【core 】 修复Console.log应该把异常信息输出位置错误问题(pr#716@Gitee)
|
||||
* 【core 】 修复UrlBuilder无法配置末尾追加“/”问题(issue#2459@Github)
|
||||
* 【core 】 修复SystemPropsUtil.getBoolean方法应该只有值为true时才返回true,其他情况都应该返回false(pr#717@Gitee)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -93,12 +93,7 @@ public class SystemPropsUtil {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
value = value.trim().toLowerCase();
|
||||
if (value.isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return Convert.toBool(value, defaultValue);
|
||||
return BooleanUtil.toBoolean(value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user