Fix the return type of the "getDecryptedOutputAsInputStream" function

This commit is contained in:
Maschell 2019-04-06 16:56:38 +02:00
parent 502acbbf68
commit a0ce93dc38

View File

@ -302,7 +302,8 @@ public final class DecryptionService {
return out.toByteArray();
}
public InputStreamWithException getDecryptedOutputAsInputStream(FSTEntry fstEntry) throws IOException {
public PipedInputStreamWithException getDecryptedOutputAsInputStream(FSTEntry fstEntry) throws IOException {
PipedInputStreamWithException in = new PipedInputStreamWithException();
PipedOutputStream out = new PipedOutputStream(in);