mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-02 20:02:49 +08:00
修复MapRowHandler结果Map无序问题
This commit is contained in:
parent
2e88e74cae
commit
dad1790b95
@ -2,7 +2,7 @@
|
||||
# 🚀Changelog
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.19.M1 (2023-05-25)
|
||||
# 5.8.19.M1 (2023-05-26)
|
||||
|
||||
### 🐣新特性
|
||||
* 【db 】 优化HttpRequest.toString()内容打印(issue#3072@Github)
|
||||
@ -30,6 +30,7 @@
|
||||
* 【core 】 修复FileUtil.createTempFile可能导致的漏洞(issue#3103@Github)
|
||||
* 【cron 】 修复SystemTimer无法结束进程问题(issue#3090@Github)
|
||||
* 【core 】 修复BeanUtil.copyToList复制Long等类型错误问题(issue#3091@Github)
|
||||
* 【poi 】 修复MapRowHandler结果Map无序问题(issue#I71SE8@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.18 (2023-04-27)
|
||||
|
@ -35,7 +35,7 @@ public abstract class MapRowHandler extends AbstractRowHandler<Map<String, Objec
|
||||
public MapRowHandler(int headerRowIndex, int startRowIndex, int endRowIndex){
|
||||
super(startRowIndex, endRowIndex);
|
||||
this.headerRowIndex = headerRowIndex;
|
||||
this.convertFunc = (rowList)-> IterUtil.toMap(headerList, rowList);
|
||||
this.convertFunc = (rowList)-> IterUtil.toMap(headerList, rowList, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user