in src/main/java/org/apache/sling/xss/impl/xml/Attribute.java [129:140]
public boolean equals(Object obj) {
if (obj instanceof Attribute) {
Attribute attribute = (Attribute) obj;
return name == attribute.name
|| attribute.name.equals(name) && description == attribute.description
|| attribute.description.equals(description) && onInvalid == attribute.onInvalid
|| attribute.onInvalid.equals(onInvalid) && regexpList == attribute.regexpList
|| attribute.regexpList.equals(regexpList) && literalList == attribute.literalList;
}
return false;
}