mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Update RecordFactoryInputStream.java
This commit is contained in:
parent
b923655b43
commit
a1f6f2786f
@ -119,10 +119,8 @@ public final class RecordFactoryInputStream {
|
|||||||
return createDecryptingStream(original, pwdString);
|
return createDecryptingStream(original, pwdString);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
// keep this private because with new API methods, we want to encourage use of char array for passwords
|
||||||
* @since 6.0.0
|
private RecordInputStream createDecryptingStream(InputStream original, String password) {
|
||||||
*/
|
|
||||||
public RecordInputStream createDecryptingStream(InputStream original, String password) {
|
|
||||||
if (password == null) {
|
if (password == null) {
|
||||||
password = Biff8EncryptionKey.getCurrentUserPassword();
|
password = Biff8EncryptionKey.getCurrentUserPassword();
|
||||||
if (password == null) {
|
if (password == null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user