> + private Json json;
> +
> + private static final TypeLiteral<PageSet<JoyentObject>> type = new
> TypeLiteral<PageSet<JoyentObject>>() {
> + };
> +
> + @Nullable
> + @Override
> + public PageSet<ObjectInfo> apply(@Nullable HttpResponse input) {
> +
> + if (input != null) {
> + InputStream stream = input.getPayload().getInput();
> + try {
> + try {
> + StringWriter writer = new StringWriter();
> + try {
> + IOUtils.copy(stream, writer);
Can we perform the copy using Guava stream helpers and remove the commons-io
dependency?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/188/files#r7142082