解决SystemPropsUtil.getInt返回long值BUG

This commit is contained in:
Husky 2022-02-20 23:05:40 +08:00
parent 3f2f7027a5
commit 5190e2b176

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