Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a48adafb authored by cketti's avatar cketti
Browse files

Don't use null for 'text' and 'html' in ViewableContainer

parent f181e923
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3281,7 +3281,7 @@ public class MimeUtility {
                    container.attachments.add(bodyPart);
                }
            } else {
                container = new ViewableContainer(null, null, new ArrayList<Part>());
                container = new ViewableContainer("", "", new ArrayList<Part>());
            }

            return container;
@@ -3291,8 +3291,8 @@ public class MimeUtility {
    }

    private static ViewableContainer extractTextual(Part part) throws MessagingException {
        String text = null;
        String html = null;
        String text = "";
        String html = "";
        List<Part> attachments = new ArrayList<Part>();

        Body firstBody = part.getBody();