in spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/main/java/com/alibaba/cloud/nacos/NacosServiceInstance.java [109:124]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NacosServiceInstance that = (NacosServiceInstance) o;
return Objects.equals(this.serviceId, that.serviceId)
&& Objects.equals(this.instanceId, that.instanceId)
&& Objects.equals(this.host, that.host)
&& this.port == that.port
&& this.secure == that.secure
&& Objects.equals(this.metadata, that.metadata);
}