in android/src/main/java/com/facebook/spectrum/image/ImageSpecification.java [72:84]
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
final ImageSpecification that = (ImageSpecification) o;
if (!size.equals(that.size)) return false;
if (!format.equals(that.format)) return false;
if (pixelSpecification != that.pixelSpecification) return false;
if (orientation != that.orientation) return false;
if (chromaSamplingMode != that.chromaSamplingMode) return false;
return metadata != null ? metadata.equals(that.metadata) : that.metadata == null;
}