jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds-labs-aws] JCLOUDS-457: Added TreeHasher util class and its test. (#11)
Date Mon, 16 Jun 2014 19:36:12 GMT
> +      this.treeHash = treeHash;
> +      this.linearHash = linearHash;
> +   }
> +
> +   public HashCode getLinearHash() {
> +      return linearHash;
> +   }
> +
> +   public HashCode getTreeHash() {
> +      return treeHash;
> +   }
> +
> +   public static class Hasher {
> +      private static final int CHUNK_SIZE = 1024 * 1024;
> +
> +      private static ArrayList<HashCode> hashList(ArrayList<HashCode> hashList)
{

Should this take a less-specific `Collection` instead?

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