!546 针对仓库评论SystemPropsUtil.getInt返回longBUG修改

Merge pull request !546 from Husky/v5-dev
This commit is contained in:
Looly
2022-02-20 16:16:21 +00:00
committed by Gitee

View File

@@ -108,7 +108,7 @@ public class SystemPropsUtil {
* @param defaultValue 默认值 * @param defaultValue 默认值
* @return 值 * @return 值
*/ */
public static long getInt(String key, int defaultValue) { public static int getInt(String key, int defaultValue) {
return Convert.toInt(get(key), defaultValue); return Convert.toInt(get(key), defaultValue);
} }