mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 08:01:50 +01:00
Refactoring
This commit is contained in:
@@ -126,6 +126,14 @@ public class EntityFolder implements Serializable {
|
||||
public EntityFolder() {
|
||||
}
|
||||
|
||||
boolean isOutgoing() {
|
||||
return isOutgoing(this.type);
|
||||
}
|
||||
|
||||
static boolean isOutgoing(String type) {
|
||||
return DRAFTS.equals(type) || OUTBOX.equals(type) || SENT.equals(type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof EntityFolder) {
|
||||
|
||||
Reference in New Issue
Block a user