1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-25 22:02:05 +01:00

trim comment lines.

This commit is contained in:
feri 2022-02-24 17:20:57 +01:00 committed by Paul Schaub
parent 7a77d0847a
commit a1deb531a4

View file

@ -79,7 +79,7 @@ public final class EncryptionStream extends OutputStream {
String[] commentLines = options.getComment().split("\n");
for (String commentLine : commentLines) {
if (!commentLine.trim().isEmpty()) {
ArmorUtils.addCommentHeader(armorOutputStream, commentLine);
ArmorUtils.addCommentHeader(armorOutputStream, commentLine.trim());
}
}
}