1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 22:15:15 -05:00

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

This commit is contained in:
cketti 2012-03-16 22:56:09 +01:00
parent f181e923ca
commit a48adafbbc

View File

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