Author: kiwiwings
Date: Tue Oct  9 20:47:31 2018
New Revision: 1843341

URL: http://svn.apache.org/viewvc?rev=1843341&view=rev
Log:
Bug 60713 - (S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the 
OutputStream

regression - when reading the input from a zip stream

Modified:
    
poi/branches/hemf/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java

Modified: 
poi/branches/hemf/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
URL: 
http://svn.apache.org/viewvc/poi/branches/hemf/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java?rev=1843341&r1=1843340&r2=1843341&view=diff
==============================================================================
--- 
poi/branches/hemf/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
 (original)
+++ 
poi/branches/hemf/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java
 Tue Oct  9 20:47:31 2018
@@ -50,7 +50,6 @@ public class ZipInputStreamZipEntrySourc
                        }
                        zipEntries.put(zipEntry.getName(), new 
ZipArchiveFakeEntry(zipEntry, inp));
                }
-               inp.close();
        }
 
        @Override



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to