in tephra-core/src/main/java/org/apache/tephra/distributed/thrift/TTransactionConflictException.java [330:362]
public boolean equals(TTransactionConflictException that) {
if (that == null)
return false;
boolean this_present_transactionId = true;
boolean that_present_transactionId = true;
if (this_present_transactionId || that_present_transactionId) {
if (!(this_present_transactionId && that_present_transactionId))
return false;
if (this.transactionId != that.transactionId)
return false;
}
boolean this_present_conflictingKey = true && this.isSetConflictingKey();
boolean that_present_conflictingKey = true && that.isSetConflictingKey();
if (this_present_conflictingKey || that_present_conflictingKey) {
if (!(this_present_conflictingKey && that_present_conflictingKey))
return false;
if (!this.conflictingKey.equals(that.conflictingKey))
return false;
}
boolean this_present_conflictingClient = true && this.isSetConflictingClient();
boolean that_present_conflictingClient = true && that.isSetConflictingClient();
if (this_present_conflictingClient || that_present_conflictingClient) {
if (!(this_present_conflictingClient && that_present_conflictingClient))
return false;
if (!this.conflictingClient.equals(that.conflictingClient))
return false;
}
return true;
}