Fixed some warnings

This commit is contained in:
M66B
2018-09-06 09:52:02 +00:00
parent ba96b02f84
commit f8cc649da5
3 changed files with 8 additions and 12 deletions

View File

@@ -285,7 +285,7 @@ public class MessageHelper {
return getHtml(imessage);
}
static String getHtml(Part part) throws MessagingException, IOException {
private static String getHtml(Part part) throws MessagingException, IOException {
if (part.isMimeType("text/*")) {
String s;
try {
@@ -353,7 +353,7 @@ public class MessageHelper {
return result;
}
static List<EntityAttachment> getAttachments(BodyPart part) throws
private static List<EntityAttachment> getAttachments(BodyPart part) throws
IOException, MessagingException {
List<EntityAttachment> result = new ArrayList<>();