diff --git a/hutool-core/src/main/java/cn/hutool/core/util/SystemPropsUtil.java b/hutool-core/src/main/java/cn/hutool/core/util/SystemPropsUtil.java index d22679567..83d9d1cf7 100644 --- a/hutool-core/src/main/java/cn/hutool/core/util/SystemPropsUtil.java +++ b/hutool-core/src/main/java/cn/hutool/core/util/SystemPropsUtil.java @@ -108,7 +108,7 @@ public class SystemPropsUtil { * @param defaultValue 默认值 * @return 值 */ - public static long getInt(String key, int defaultValue) { + public static int getInt(String key, int defaultValue) { return Convert.toInt(get(key), defaultValue); }