mirror of
https://github.com/apache/poi.git
synced 2026-02-27 12:30: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);
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 6.0.0
|
||||
*/
|
||||
public RecordInputStream createDecryptingStream(InputStream original, String password) {
|
||||
// keep this private because with new API methods, we want to encourage use of char array for passwords
|
||||
private RecordInputStream createDecryptingStream(InputStream original, String password) {
|
||||
if (password == null) {
|
||||
password = Biff8EncryptionKey.getCurrentUserPassword();
|
||||
if (password == null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user