From 1e3340809869941563e78eedf819270c83b961c5 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 27 Nov 2023 13:26:41 +0100 Subject: [PATCH] Please the checkstyle checker --- .../decryption_verification/DecryptAndVerifyMessageTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgpainless-core/src/test/java/org/pgpainless/decryption_verification/DecryptAndVerifyMessageTest.java b/pgpainless-core/src/test/java/org/pgpainless/decryption_verification/DecryptAndVerifyMessageTest.java index 753d1246..4b6d5a86 100644 --- a/pgpainless-core/src/test/java/org/pgpainless/decryption_verification/DecryptAndVerifyMessageTest.java +++ b/pgpainless-core/src/test/java/org/pgpainless/decryption_verification/DecryptAndVerifyMessageTest.java @@ -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()); }