jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] JCLOUDS-458:Added Blobstore Abstraction (#48)
Date Sat, 20 Sep 2014 03:34:00 GMT
> @@ -173,8 +176,12 @@ private String getCrc32c() {
>     }
>  
>     public HashCode getCrc32cHashcode() {
> -      HashCode hc = HashCode.fromBytes(DomainUtils.reverse(BaseEncoding.base64().decode(crc32c)));
> -      return hc;
> +      if (crc32c != null) {
> +         HashCode hc = HashCode.fromBytes(DomainUtils.reverse(BaseEncoding.base64().decode(crc32c)));
> +         return hc;
> +      }
> +      return null;

See above comment

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/48/files#r17817634
Mime
View raw message