!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
commit 7db799ed15
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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);
} }