in stream/distributedlog/core/src/main/java/org/apache/distributedlog/thrift/AccessControlEntry.java [387:437]
public boolean equals(AccessControlEntry that) {
if (that == null)
return false;
boolean this_present_denyWrite = true && this.isSetDenyWrite();
boolean that_present_denyWrite = true && that.isSetDenyWrite();
if (this_present_denyWrite || that_present_denyWrite) {
if (!(this_present_denyWrite && that_present_denyWrite))
return false;
if (this.denyWrite != that.denyWrite)
return false;
}
boolean this_present_denyTruncate = true && this.isSetDenyTruncate();
boolean that_present_denyTruncate = true && that.isSetDenyTruncate();
if (this_present_denyTruncate || that_present_denyTruncate) {
if (!(this_present_denyTruncate && that_present_denyTruncate))
return false;
if (this.denyTruncate != that.denyTruncate)
return false;
}
boolean this_present_denyDelete = true && this.isSetDenyDelete();
boolean that_present_denyDelete = true && that.isSetDenyDelete();
if (this_present_denyDelete || that_present_denyDelete) {
if (!(this_present_denyDelete && that_present_denyDelete))
return false;
if (this.denyDelete != that.denyDelete)
return false;
}
boolean this_present_denyAcquire = true && this.isSetDenyAcquire();
boolean that_present_denyAcquire = true && that.isSetDenyAcquire();
if (this_present_denyAcquire || that_present_denyAcquire) {
if (!(this_present_denyAcquire && that_present_denyAcquire))
return false;
if (this.denyAcquire != that.denyAcquire)
return false;
}
boolean this_present_denyRelease = true && this.isSetDenyRelease();
boolean that_present_denyRelease = true && that.isSetDenyRelease();
if (this_present_denyRelease || that_present_denyRelease) {
if (!(this_present_denyRelease && that_present_denyRelease))
return false;
if (this.denyRelease != that.denyRelease)
return false;
}
return true;
}