mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Simplify folder names
This commit is contained in:
@@ -86,7 +86,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
public Long swipe_right;
|
||||
@NonNull
|
||||
public Integer poll_interval; // keep-alive interval
|
||||
public String prefix; // namespace
|
||||
public String prefix; // namespace, obsolete
|
||||
|
||||
public Long created;
|
||||
public Boolean tbd;
|
||||
@@ -156,7 +156,6 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
json.put("swipe_right", swipe_right);
|
||||
|
||||
json.put("poll_interval", poll_interval);
|
||||
json.put("prefix", prefix);
|
||||
// not created
|
||||
// not state
|
||||
// not error
|
||||
@@ -197,8 +196,6 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
account.swipe_right = json.getLong("swipe_right");
|
||||
|
||||
account.poll_interval = json.getInt("poll_interval");
|
||||
if (json.has("prefix") && !json.isNull("prefix"))
|
||||
account.prefix = json.getString("prefix");
|
||||
|
||||
return account;
|
||||
}
|
||||
@@ -225,7 +222,6 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
Objects.equals(this.swipe_left, other.swipe_left) &&
|
||||
Objects.equals(this.swipe_right, other.swipe_right) &&
|
||||
this.poll_interval.equals(other.poll_interval) &&
|
||||
Objects.equals(this.prefix, other.prefix) &&
|
||||
Objects.equals(this.created, other.created) &&
|
||||
Objects.equals(this.tbd, other.tbd) &&
|
||||
Objects.equals(this.state, other.state) &&
|
||||
|
||||
Reference in New Issue
Block a user