mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Refactoring
This commit is contained in:
parent
dad1cc0058
commit
3cef6d058e
2 changed files with 4 additions and 4 deletions
|
@ -280,7 +280,7 @@ public class EmailService implements AutoCloseable {
|
|||
properties.put("mail." + protocol + ".appendbuffersize", Integer.toString(APPEND_BUFFER_SIZE));
|
||||
|
||||
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)) {
|
||||
// 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.UIDFolder;
|
||||
|
||||
public class IMAPFolderEX extends IMAPFolder {
|
||||
public IMAPFolderEX(String fullName, char separator, IMAPStore store, Boolean isNamespace) {
|
||||
public class IMAPFolderEx extends IMAPFolder {
|
||||
public IMAPFolderEx(String fullName, char separator, IMAPStore store, Boolean isNamespace) {
|
||||
super(fullName, separator, store, isNamespace);
|
||||
}
|
||||
|
||||
public IMAPFolderEX(ListInfo li, IMAPStore store) {
|
||||
public IMAPFolderEx(ListInfo li, IMAPStore store) {
|
||||
super(li, store);
|
||||
}
|
||||
|
Loading…
Reference in a new issue