in src/main/java/org/apache/sling/validation/impl/ValidatorMap.java [71:95]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ValidatorMetadata other = (ValidatorMetadata) obj;
if (serviceReference == null) {
if (other.serviceReference != null)
return false;
} else if (!serviceReference.equals(other.serviceReference))
return false;
if (severity == null) {
if (other.severity != null)
return false;
} else if (!severity.equals(other.severity))
return false;
if (validator == null) {
if (other.validator != null)
return false;
} else if (!validator.equals(other.validator))
return false;
return true;
}