public boolean equals()

in src/main/java/org/apache/sling/jcr/contentloader/LocalRestriction.java [89:105]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        LocalRestriction other = (LocalRestriction) obj;
        if (multival != other.multival)
            return false;
        if (restriction == null) {
            if (other.restriction != null)
                return false;
        } else if (!restriction.equals(other.restriction))
            return false;
        return Arrays.equals(values, other.values);
    }