Refactoring

This commit is contained in:
M66B
2020-04-26 18:02:18 +02:00
parent 55f571de91
commit c72a3f5f80
2 changed files with 5 additions and 1 deletions

View File

@@ -140,6 +140,10 @@ public class EntityAccount extends EntityOrder implements Serializable {
public String error;
public Long last_connected;
boolean isGmail() {
return "imap.gmail.com".equalsIgnoreCase(host);
}
String getProtocol() {
switch (protocol) {
case TYPE_IMAP: