mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
解决SystemPropsUtil.getInt返回long值BUG
This commit is contained in:
parent
3f2f7027a5
commit
5190e2b176
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user