in flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/xa/CheckpointAndXid.java [73:85]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof CheckpointAndXid)) {
return false;
}
CheckpointAndXid that = (CheckpointAndXid) o;
return checkpointId == that.checkpointId
&& attempts == that.attempts
&& restored == that.restored
&& Objects.equals(xid, that.xid);
}