> +import org.jclouds.io.Payload;
> +
> +import com.google.common.collect.ImmutableSortedMap;
> +import com.google.common.collect.Lists;
> +import com.google.common.hash.HashCode;
> +import com.google.common.hash.Hashing;
> +import com.google.common.hash.HashingInputStream;
> +import com.google.common.io.ByteStreams;
> +import com.google.common.primitives.Bytes;
> +
> +/**
> + * Calculates the linear hash and the tree hash of the payload.
> + */
> +public class TreeHasher {
> +
> + private static int CHUNK_SIZE = 1024 * 1024;
`final`
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/11/files#r13791842