You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Andrew Gaul <no...@github.com> on 2014/06/11 05:18:34 UTC

Re: [jclouds] Provide type-safe HashCode methods for Content-MD5 (#384)

>        @Override
>        public PayloadBlobBuilder contentMD5(byte[] md5) {
> +         return contentMD5(md5 == null ? null : HashCode.fromBytes(md5));
> +      }
> +
> +      @Override
> +      public PayloadBlobBuilder contentMD5(HashCode md5) {

Added Nullable and allowing null for consistency with existing code.

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