@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final Image image = (Image) o;

        return Objects.equals(serviceImageId, image.serviceImageId)
                && uri.equals(image.uri)
                && StringUtils.equals(title, image.title)
                && StringUtils.equals(description, image.description)
                && targetScale == image.targetScale
                && category == image.category;
    }
Compare two Images.

@param o The Object to compare
@return True if all fields match
main/src/main/java/cgeo/geocaching/models/Image.java