1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 22:51:02 +00:00
This commit is contained in:
M66B 2022-02-03 10:39:10 +01:00
parent 203e975ce6
commit f5be6f9610

View file

@ -5826,30 +5826,6 @@ class Core {
",idle=" + getIdleTime() + "" +
",serial=" + serial + "]";
}
private static class FolderPriority {
private long folder;
private int priority;
FolderPriority(long folder, int priority) {
this.folder = folder;
this.priority = priority;
}
@Override
public int hashCode() {
return (int) (this.folder * 37 + priority);
}
@Override
public boolean equals(@Nullable Object obj) {
if (obj instanceof FolderPriority) {
FolderPriority other = (FolderPriority) obj;
return (this.folder == other.folder && this.priority == other.priority);
} else
return false;
}
}
}
static class OperationCanceledExceptionEx extends OperationCanceledException {