mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix bug
This commit is contained in:
parent
021d074a09
commit
18b340e61d
@ -3,7 +3,7 @@
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# 5.7.18 (2021-12-12)
|
||||
# 5.7.18 (2021-12-13)
|
||||
|
||||
### 🐣新特性
|
||||
* 【core 】 新增CollStreamUtil.groupKeyValue(pr#479@Gitee)
|
||||
@ -12,6 +12,7 @@
|
||||
* 【core 】 LineReadWatcher#onModify文件清空判断问题(issue#2013@Github)
|
||||
* 【core 】 修复4位bytes转换float问题(issue#I4M0E4@Gitee)
|
||||
* 【core 】 修复CharSequenceUtil.replace问题(issue#I4M16G@Gitee)
|
||||
* 【json 】 修复JSONObject 初始化大小值未被使用问题(issue#2016@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.7.17 (2021-12-09)
|
||||
|
@ -123,7 +123,7 @@ public class JSONObject implements JSON, JSONGetter<String>, Map<String, Object>
|
||||
if (config.isIgnoreCase()) {
|
||||
this.rawHashMap = config.isOrder() ? new CaseInsensitiveLinkedMap<>(capacity) : new CaseInsensitiveMap<>(capacity);
|
||||
} else {
|
||||
this.rawHashMap = MapUtil.newHashMap(config.isOrder());
|
||||
this.rawHashMap = MapUtil.newHashMap(capacity, config.isOrder());
|
||||
}
|
||||
this.config = config;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user