in it-is-cloudy-here/org-apache-sling-remote-resourceprovider/src/main/java/org/apache/sling/remote/resourceprovider/impl/CacheableResource.java [124:140]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof CacheableResource)) {
return false;
}
CacheableResource other = (CacheableResource) obj;
return
Objects.equals(this.path, other.path) &&
Objects.equals(this.resourceType, other.resourceType) &&
Objects.equals(this.resourceSuperType, other.resourceSuperType) &&
Objects.equals(this.remoteStorageProvider, other.remoteStorageProvider) &&
Objects.equals(this.resourceMetadata, other.resourceMetadata) &&
Objects.equals(this.children, other.children) &&
Objects.equals(this.valueMap, other.valueMap);
}