dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java [137:147]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (!(obj instanceof URLAddress)) return false;
        URLAddress that = (URLAddress) obj;
        return Objects.equals(this.getProtocol(), that.getProtocol())
                && Objects.equals(this.getUsername(), that.getUsername())
                && Objects.equals(this.getPassword(), that.getPassword())
                && Objects.equals(this.getPath(), that.getPath())
                && Objects.equals(this.getHost(), that.getHost())
                && Objects.equals(this.getPort(), that.getPort());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



dubbo-common/src/main/java/org/apache/dubbo/common/url/component/PathURLAddress.java [130:140]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (!(obj instanceof URLAddress)) return false;
        URLAddress that = (URLAddress) obj;
        return Objects.equals(this.getProtocol(), that.getProtocol())
                && Objects.equals(this.getUsername(), that.getUsername())
                && Objects.equals(this.getPassword(), that.getPassword())
                && Objects.equals(this.getPath(), that.getPath())
                && Objects.equals(this.getHost(), that.getHost())
                && Objects.equals(this.getPort(), that.getPort());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



