Show operation errors

This commit is contained in:
M66B
2018-12-01 15:13:57 +01:00
parent 30628f15f8
commit 6a81e064bf
7 changed files with 1197 additions and 7 deletions

View File

@@ -64,6 +64,7 @@ public class EntityOperation {
public String args;
@NonNull
public Long created;
public String error;
public static final String ADD = "add";
public static final String MOVE = "move";
@@ -138,7 +139,8 @@ public class EntityOperation {
this.message.equals(other.message) &&
this.name.equals(other.name) &&
this.args.equals(other.args) &&
this.created.equals(other.created));
this.created.equals(other.created) &&
(this.error == null ? other.error == null : this.error.equals(other.error)));
} else
return false;
}