kelemen commented on code in PR #823:
URL: https://github.com/apache/poi/pull/823#discussion_r2147299509


##########
poi-examples/src/main/java/org/apache/poi/examples/xssf/streaming/SavePasswordProtectedXlsx.java:
##########
@@ -95,7 +96,7 @@ public static void save(final InputStream inputStream, final 
String filename, fi
             EncryptionInfo info = new EncryptionInfo(EncryptionMode.agile);
             Encryptor enc = Encryptor.getInstance(info);
             enc.confirmPassword(pwd);
-            opc.save(enc.getDataStream(fs));
+            opc.save(enc.getDataStream(fs, 
TempFileCreationStrategy.getDefaultStrategy()));

Review Comment:
   reverted



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to