mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 08:37:26 +08:00
修复JsonUtil.toBean
泛型数组类型丢失问题(pr#3876@Github)
This commit is contained in:
parent
5b34544b8f
commit
150f8930d0
@ -10,10 +10,12 @@
|
||||
* 【core 】 `IdcardUtil`验证10位身份证兼容中英文括号(issue#IBP6T1@Gitee)
|
||||
* 【extra 】 `PinyinUtil`增加重载可选是否返回声调(pr#3875@Github)
|
||||
* 【http 】 `HttpBase`增加重载可选是否返回声调(pr#3883@Github)
|
||||
* 【core 】 增加`VersionUtil`版本比较工具(pr#3876@Github)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【setting】 修复`SettingLoader`load未抛出异常导致配置文件无法正常遍历的问题(pr#3868@Github)
|
||||
* 【cache 】 修复`ReentrantCache#getOrRemoveExpired`方法丢失onRemove触发问题(pr#1315@Gitee)
|
||||
* 【json 】 修复`JsonUtil.toBean`泛型数组类型丢失问题(pr#3876@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.36(2025-02-18)
|
||||
|
@ -40,7 +40,7 @@ class VersionUtilTest {
|
||||
String currentVersion = "1.0.2";
|
||||
assertTrue(VersionUtil.isLessThanOrEqual(currentVersion, "1.0.2"));
|
||||
assertFalse(VersionUtil.isLessThanOrEqual(currentVersion, "1.0.1"));
|
||||
assertFalse(VersionUtil.isLessThanOrEqual(currentVersion, "1.1"));
|
||||
assertTrue(VersionUtil.isLessThanOrEqual(currentVersion, "1.1"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user