Skip to content

Commit

Permalink
#404, #405: Added missing toString entry for Content-Transfer-Encodin…
Browse files Browse the repository at this point in the history
…g value
  • Loading branch information
bbottema committed Jul 19, 2022
1 parent 5d4b1ab commit 4932bc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ public String toString() {
",\n\ttext='" + text + '\'' +
",\n\ttextHTML='" + textHTML + '\'' +
",\n\ttextCalendar='" + format("%s (method: %s)", textCalendar, calendarMethod) + '\'' +
",\n\tcontentTransferEncoding='" + contentTransferEncoding + '\'' +
",\n\tsubject='" + subject + '\'' +
",\n\trecipients=" + recipients);
if (!MiscUtil.valueNullOrEmpty(dkimSigningDomain)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void testToStringEmpty() {
+ "\ttext='null',\n"
+ "\ttextHTML='null',\n"
+ "\ttextCalendar='null (method: null)',\n"
+ "\tcontentTransferEncoding='quoted-printable',\n"
+ "\tsubject='null',\n"
+ "\trecipients=[]\n"
+ "}");
Expand Down Expand Up @@ -110,6 +111,7 @@ public void testToStringFull() {
+ " text='We should meet up!',\n"
+ " textHTML='<b>We should meet up!</b><img src='cid:thumbsup'>',\n"
+ " textCalendar='Calendar text (method: ADD)',\n"
+ " contentTransferEncoding='quoted-printable',\n"
+ " subject='hey',\n"
+ " recipients=[Recipient{name='C.Cane', address='[email protected]', type=To}],\n"
+ " applyDKIMSignature=true,\n"
Expand Down

0 comments on commit 4932bc1

Please sign in to comment.