Refactoring

pull/207/head
M66B 4 years ago
parent dad1cc0058
commit 3cef6d058e

@ -280,7 +280,7 @@ public class EmailService implements AutoCloseable {
properties.put("mail." + protocol + ".appendbuffersize", Integer.toString(APPEND_BUFFER_SIZE)); properties.put("mail." + protocol + ".appendbuffersize", Integer.toString(APPEND_BUFFER_SIZE));
if (!"gimaps".equals(protocol) && BuildConfig.DEBUG) if (!"gimaps".equals(protocol) && BuildConfig.DEBUG)
properties.put("mail." + protocol + ".folder.class", IMAPFolderEX.class.getName()); properties.put("mail." + protocol + ".folder.class", IMAPFolderEx.class.getName());
} else if ("smtp".equals(protocol) || "smtps".equals(protocol)) { } else if ("smtp".equals(protocol) || "smtps".equals(protocol)) {
// https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html#properties // https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html#properties

@ -43,12 +43,12 @@ import javax.mail.MessageRemovedException;
import javax.mail.MessagingException; import javax.mail.MessagingException;
import javax.mail.UIDFolder; import javax.mail.UIDFolder;
public class IMAPFolderEX extends IMAPFolder { public class IMAPFolderEx extends IMAPFolder {
public IMAPFolderEX(String fullName, char separator, IMAPStore store, Boolean isNamespace) { public IMAPFolderEx(String fullName, char separator, IMAPStore store, Boolean isNamespace) {
super(fullName, separator, store, isNamespace); super(fullName, separator, store, isNamespace);
} }
public IMAPFolderEX(ListInfo li, IMAPStore store) { public IMAPFolderEx(ListInfo li, IMAPStore store) {
super(li, store); super(li, store);
} }
Loading…
Cancel
Save