修复ZipReader.get调用reset异常问题

This commit is contained in:
Looly 2023-05-14 22:51:03 +08:00
parent aa20cb3921
commit 9c532f8a15

View File

@ -57,7 +57,6 @@ public class ZipStreamResource implements ZipResource {
@Override
public InputStream get(final String path) {
try {
this.in.reset();
ZipEntry zipEntry;
while (null != (zipEntry = in.getNextEntry())) {
if (zipEntry.getName().equals(path)) {