> @@ -105,4 +183,62 @@ protected Payload copyMetadataAndSetLength(Payload
> input, Payload returnVal, lon
> return returnVal;
> }
>
> + @Override
> + public Iterable<Payload> slice(Payload input, long size) {
> + checkNotNull(input);
> + checkArgument(size >= 0, "length is negative");
> +
> + ContentMetadata meta =
> BaseMutableContentMetadata.fromContentMetadata(input.getContentMetadata())
> + .toBuilder()
> + .contentLength(size)
> + .contentMD5(null)
Is this required?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/192/files#r7291536