> @@ -262,7 +269,7 @@ public boolean apply(StorageMetadata o) {
>           if (!contents.isEmpty()) {
>              StorageMetadata lastElement = contents.last();
>              contents = newTreeSet(Iterables.limit(contents, maxResults));
> -            if (!contents.contains(lastElement)) {
> +            if (maxResults != 0 && !contents.contains(lastElement)) {

can `maxResults` be negative?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/636/files#r22695918

Reply via email to