> @@ -83,7 +84,8 @@ public ContentMetadataBuilder expires(@Nullable Date 
> expires) {
>     }
>  
>     public ContentMetadata build() {
> -      return new BaseImmutableContentMetadata(contentType, contentLength, 
> contentMD5, contentDisposition,
> +      return new BaseImmutableContentMetadata(contentType, contentLength,
> +               contentMD5 == null ? null : contentMD5.asBytes(), 
> contentDisposition,

`HashCode` needs to percolate through all the interfaces but I scoped this out 
of this commit since it is contagious.

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

Reply via email to