Refactoring

This commit is contained in:
M66B 2021-03-02 17:30:33 +01:00
parent d60e1f26f2
commit f571d270bd
1 changed files with 1 additions and 1 deletions

View File

@ -2421,7 +2421,7 @@ public class FragmentCompose extends FragmentBase {
ContentType ct = new ContentType(type);
ct.setParameter("protected-headers", "v1");
setHeader("Content-Type", ct.toString());
String subject = draft.subject == null ? "" : draft.subject;
String subject = (draft.subject == null ? "" : draft.subject);
try {
setHeader("Subject", MimeUtility.encodeWord(subject));
} catch (UnsupportedEncodingException ex) {