mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 21:15:09 +00:00
Temporary rollback to fix issue when import zip file
This commit is contained in:
parent
1bd97a0992
commit
673da114f2
@ -60,7 +60,8 @@ public class AFileZipEntry implements AFile {
|
||||
public InputStream openFile() {
|
||||
final InputStream tmp = zipFile.openFile();
|
||||
if (tmp != null)
|
||||
try (final ZipInputStream zis = new ZipInputStream(tmp)) {
|
||||
try {
|
||||
final ZipInputStream zis = new ZipInputStream(tmp);
|
||||
ZipEntry ze = zis.getNextEntry();
|
||||
|
||||
while (ze != null) {
|
||||
@ -72,6 +73,7 @@ public class AFileZipEntry implements AFile {
|
||||
ze = zis.getNextEntry();
|
||||
}
|
||||
zis.closeEntry();
|
||||
zis.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user