in dubbo-remoting-extensions/dubbo-remoting-quic/src/main/java/org/apache/dubbo/remoting/transport/quic/QuicNettyChannel.java [272:297]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (obj instanceof QuicNettyClient) {
QuicNettyClient client = (QuicNettyClient) obj;
return channel.equals(client.getNettyChannel());
}
if (getClass() != obj.getClass()) {
return false;
}
QuicNettyChannel other = (QuicNettyChannel) obj;
if (channel == null) {
if (other.channel != null) {
return false;
}
} else if (!channel.equals(other.channel)) {
return false;
}
return true;
}