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
aa20cb3921
commit
9c532f8a15
@ -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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user