in src/main/java/org/apache/sling/feature/scanner/impl/MatchingRequirementImpl.java [39:49]
public boolean equals(final Object o) {
if (this == o) {
return true;
}
if (o == null || !(o instanceof RequirementImpl)) {
return false;
}
final RequirementImpl that = (RequirementImpl) o;
return Objects.equals(resource, that.getResource()) && Objects.equals(namespace, that.getNamespace())
&& Objects.equals(attributes, that.getAttributes()) && Objects.equals(directives, that.getDirectives());
}