Please the checkstyle checker

This commit is contained in:
Paul Schaub 2023-11-27 13:26:41 +01:00
parent 9ab0c35b78
commit 1e33408098
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 2 additions and 2 deletions

View File

@ -91,10 +91,10 @@ public class DecryptAndVerifyMessageTest {
.addDecryptionKey(juliet)
.addVerificationCert(KeyRingUtils.publicKeyRingFrom(juliet));
try (final DecryptionStream decryptor = PGPainless.decryptAndOrVerify()
try (DecryptionStream decryptor = PGPainless.decryptAndOrVerify()
.onInputStream(new ByteArrayInputStream(encryptedMessage.getBytes()))
.withOptions(options);
final ByteArrayOutputStream toPlain = new ByteArrayOutputStream()) {
ByteArrayOutputStream toPlain = new ByteArrayOutputStream()) {
Streams.pipeAll(decryptor, toPlain);
assertEquals(-1, decryptor.read());
}