]> source.dussan.org Git - poi.git/commitdiff
Bug 60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream
authorAndreas Beeker <kiwiwings@apache.org>
Tue, 9 Oct 2018 20:47:31 +0000 (20:47 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Tue, 9 Oct 2018 20:47:31 +0000 (20:47 +0000)
regression - when reading the input from a zip stream

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1843341 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java

index e185239ff1c4255ecb257d39c819a4183b9259e2..048b34e2517bd86f683e91b5e3c8a4598544f925 100644 (file)
@@ -50,7 +50,6 @@ public class ZipInputStreamZipEntrySource implements ZipEntrySource {
                        }
                        zipEntries.put(zipEntry.getName(), new ZipArchiveFakeEntry(zipEntry, inp));
                }
-               inp.close();
        }
 
        @Override