diff --git a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionStream.java b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionStream.java index 0cba8093..dbfc737e 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionStream.java +++ b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionStream.java @@ -87,9 +87,9 @@ public final class EncryptionStream extends OutputStream { if (options.hasComment()) { String[] commentLines = options.getComment().split("\n"); for (String commentLine : commentLines) { - if (!commentLine.trim().isEmpty()) { - ArmorUtils.addCommentHeader(armorOutputStream, commentLine.trim()); - } + if (!commentLine.trim().isEmpty()) { + ArmorUtils.addCommentHeader(armorOutputStream, commentLine.trim()); + } } } outermostStream = armorOutputStream;