> +    public boolean equals(Object o) {
> +        if (this == o) return true;
> +        if (o == null || getClass() != o.getClass()) return false;
> +
> +        BlobBlockPropertiesImpl that = (BlobBlockPropertiesImpl) o;
> +
> +        if (committed != that.committed) return false;
> +        if (contentLength != that.contentLength) return false;
> +        if (blockName != null ? !blockName.equals(that.blockName) : 
> that.blockName != null) return false;
> +
> +        return true;
> +    }
> +
> +    @Override
> +    public int hashCode() {
> +        int result = blockName != null ? blockName.hashCode() : 0;

Prefer return Objects.hashCode(blobName, contentLenght, committed);

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/52/files#r5019285

Reply via email to