public boolean equals()

in src/main/java/org/apache/sling/resourceresolver/impl/observation/BasicObserverConfiguration.java [134:165]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        BasicObserverConfiguration other = (BasicObserverConfiguration) obj;
        if (changeTypes == null) {
            if (other.changeTypes != null)
                return false;
        } else if (!changeTypes.equals(other.changeTypes))
            return false;
        if (excludedPaths == null) {
            if (other.excludedPaths != null)
                return false;
        } else if (!excludedPaths.equals(other.excludedPaths))
            return false;
        if (includeExternal != other.includeExternal)
            return false;
        if (paths == null) {
            if (other.paths != null)
                return false;
        } else if (!paths.equals(other.paths))
            return false;
        if (propertyNamesHint == null) {
            if (other.propertyNamesHint != null)
                return false;
        } else if (!propertyNamesHint.equals(other.propertyNamesHint))
            return false;
        return true;
    }