From 5190e2b1760ae77f37c642f4745bfee7ced547a3 Mon Sep 17 00:00:00 2001 From: Husky <2466896229@qq.com> Date: Sun, 20 Feb 2022 23:05:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3SystemPropsUtil.getInt?= =?UTF-8?q?=E8=BF=94=E5=9B=9Elong=E5=80=BCBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/hutool/core/util/SystemPropsUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }