mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
修复ZipReader.get调用reset异常问题
This commit is contained in:
parent
69fe552c63
commit
61ffa24917
@ -2,7 +2,7 @@
|
|||||||
# 🚀Changelog
|
# 🚀Changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.19.M1 (2023-05-11)
|
# 5.8.19.M1 (2023-05-14)
|
||||||
|
|
||||||
### 🐣新特性
|
### 🐣新特性
|
||||||
* 【db 】 优化HttpRequest.toString()内容打印(issue#3072@Github)
|
* 【db 】 优化HttpRequest.toString()内容打印(issue#3072@Github)
|
||||||
@ -18,6 +18,7 @@
|
|||||||
* 【core 】 修复JSONUtil.toBean目标存在Map字段无序问题(issue#I6YN2A@Gitee)
|
* 【core 】 修复JSONUtil.toBean目标存在Map字段无序问题(issue#I6YN2A@Gitee)
|
||||||
* 【http 】 修复HttpDownloader.downloadFile 方法缺少static问题(issue#I6Z8VU@Gitee)
|
* 【http 】 修复HttpDownloader.downloadFile 方法缺少static问题(issue#I6Z8VU@Gitee)
|
||||||
* 【core 】 修复NumberUtil mul 传入null的string入参报错问题(issue#I70JB3@Gitee)
|
* 【core 】 修复NumberUtil mul 传入null的string入参报错问题(issue#I70JB3@Gitee)
|
||||||
|
* 【core 】 修复ZipReader.get调用reset异常问题(issue#3099@Github)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.18 (2023-04-27)
|
# 5.8.18 (2023-04-27)
|
||||||
|
@ -109,7 +109,6 @@ public class ZipReader implements Closeable {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
this.in.reset();
|
|
||||||
ZipEntry zipEntry;
|
ZipEntry zipEntry;
|
||||||
while (null != (zipEntry = in.getNextEntry())) {
|
while (null != (zipEntry = in.getNextEntry())) {
|
||||||
if (zipEntry.getName().equals(path)) {
|
if (zipEntry.getName().equals(path)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user