mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复ZipReader.get调用reset异常问题
This commit is contained in:
@@ -57,7 +57,6 @@ public class ZipStreamResource implements ZipResource {
|
|||||||
@Override
|
@Override
|
||||||
public InputStream get(final String path) {
|
public InputStream get(final String path) {
|
||||||
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)) {
|
||||||
|
Reference in New Issue
Block a user