Improved operation handling/display

This commit is contained in:
M66B
2019-01-29 11:06:53 +00:00
parent da9c2062d4
commit 25ff074a86
5 changed files with 109 additions and 89 deletions

View File

@@ -22,6 +22,7 @@ package eu.faircode.email;
public class TupleOperationEx extends EntityOperation {
public String accountName;
public String folderName;
public boolean synchronize;
@Override
public boolean equals(Object obj) {
@@ -29,7 +30,8 @@ public class TupleOperationEx extends EntityOperation {
TupleOperationEx other = (TupleOperationEx) obj;
return (super.equals(obj) &&
(this.accountName == null ? other.accountName == null : accountName.equals(other.accountName)) &&
(this.folderName == null ? other.folderName == null : this.folderName.equals(other.folderName)));
(this.folderName == null ? other.folderName == null : this.folderName.equals(other.folderName)) &&
this.synchronize == other.synchronize);
} else
return false;
}