1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-15 13:19:38 +02:00

trim comment lines.

This commit is contained in:
feri 2022-02-24 17:20:57 +01:00
parent b4d6c98742
commit 3d4561ef1f

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());
}
}
}