Merge branch 'v5-dev' of https://gitee.com/hellozrh/hutool into v5-dev

This commit is contained in:
zhangrenhua
2022-07-21 15:23:37 +08:00
2 changed files with 3 additions and 7 deletions

View File

@@ -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);
}
/**