@mvrueden why should the count2 for slice2 be 11? You provide 53 bytes as the maximum slice size, and ceil(1024 / 53) = 20. Also note that you can call Guava `Iterables.size(Iterable)` instead of using a for loop. The array size provided to `repeatingArrayByteSource` should not matter; it repeats its input infinitely and only `ByteSource.slice` limits it.
--- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/427#issuecomment-47784686
