in src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledRenderUnitCapabilityImpl.java [119:133]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof BundledRenderUnitCapability) {
BundledRenderUnitCapability other = (BundledRenderUnitCapability) obj;
return Objects.equals(resourceTypes, other.getResourceTypes()) && Objects.equals(path, other.getPath()) &&
Objects.equals(selectors, other.getSelectors()) &&
Objects.equals(extension, other.getExtension()) && Objects.equals(method, other.getMethod()) &&
Objects.equals(extendedResourceType, other.getExtendedResourceType()) &&
Objects.equals(scriptEngineName, other.getScriptEngineName()) &&
Objects.equals(scriptExtension, other.getScriptExtension());
}
return false;
}