in zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RegisterInfo.java [309:343]
public boolean equals(RegisterInfo that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_host = true && this.isSetHost();
boolean that_present_host = true && that.isSetHost();
if (this_present_host || that_present_host) {
if (!(this_present_host && that_present_host))
return false;
if (!this.host.equals(that.host))
return false;
}
boolean this_present_port = true;
boolean that_present_port = true;
if (this_present_port || that_present_port) {
if (!(this_present_port && that_present_port))
return false;
if (this.port != that.port)
return false;
}
boolean this_present_interpreterGroupId = true && this.isSetInterpreterGroupId();
boolean that_present_interpreterGroupId = true && that.isSetInterpreterGroupId();
if (this_present_interpreterGroupId || that_present_interpreterGroupId) {
if (!(this_present_interpreterGroupId && that_present_interpreterGroupId))
return false;
if (!this.interpreterGroupId.equals(that.interpreterGroupId))
return false;
}
return true;
}