> +
> +    @Override
> +    public long getContentLength() {
> +        return contentLength;
> +    }
> +
> +    @Override
> +    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;

Prefer Objects.equal(blockName, that.blockName).

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

Reply via email to