public boolean equals()

in src/main/java/org/apache/sling/discovery/commons/providers/DefaultInstanceDescription.java [94:113]


    public boolean equals(final Object obj) {
        if (obj == null || !(obj instanceof DefaultInstanceDescription)) {
            return false;
        }
        final DefaultInstanceDescription other = (DefaultInstanceDescription) obj;
        if (!this.slingId.equals(other.slingId)) {
            return false;
        }
        if (!this.slingId.equals(other.slingId)) {
            return false;
        }
        if (!properties.equals(other.properties)) {
            return false;
        }
        if (!this.getClusterView().getId()
                .equals(other.getClusterView().getId())) {
            return false;
        }
        return true;
    }