Skip to content

Commit

Permalink
ignite-gg-12163 refactoring updates, move copy page to snapshot manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Govorukhin committed May 3, 2017
1 parent 6d22a91 commit c0da061
Showing 1 changed file with 9 additions and 5 deletions.
Expand Up @@ -135,6 +135,7 @@ public static File getMovingPathParameter(SnapshotOperation op) {
return (File)op.extraParameter(); return (File)op.extraParameter();
} }


/** {@inheritDoc} */
@Override public boolean equals(Object o) { @Override public boolean equals(Object o) {
if (this == o) if (this == o)
return true; return true;
Expand All @@ -149,18 +150,21 @@ public static File getMovingPathParameter(SnapshotOperation op) {
return false; return false;
if (msg != null ? !msg.equals(operation.msg) : operation.msg != null) if (msg != null ? !msg.equals(operation.msg) : operation.msg != null)
return false; return false;

return extraParam != null ? extraParam.equals(operation.extraParam) : operation.extraParam == null; return extraParam != null ? extraParam.equals(operation.extraParam) : operation.extraParam == null;


} }


/** {@inheritDoc} */
@Override public int hashCode() { @Override public int hashCode() {
int result = type.hashCode(); int res = type.hashCode();
result = 31 * result + (int)(snapshotId ^ (snapshotId >>> 32)); res = 31 * res + (int)(snapshotId ^ (snapshotId >>> 32));
result = 31 * result + (msg != null ? msg.hashCode() : 0); res = 31 * res + (msg != null ? msg.hashCode() : 0);
result = 31 * result + (extraParam != null ? extraParam.hashCode() : 0); res = 31 * res + (extraParam != null ? extraParam.hashCode() : 0);
return result; return res;
} }


/** {@inheritDoc} */
@Override public String toString() { @Override public String toString() {
return "SnapshotOperation{" + return "SnapshotOperation{" +
"type=" + type + "type=" + type +
Expand Down

0 comments on commit c0da061

Please sign in to comment.