> +            @SuppressWarnings("unchecked")
> +            @Override
> +            public IterableWithMarker<Image> apply(Object input) {
> +               PaginationOptions paginationOptions = 
> PaginationOptions.class.cast(input);
> +               Collection<String> markers = 
> paginationOptions.buildQueryParameters().get("marker");
> +
> +               if (!markers.isEmpty()) {
> +                  return 
> IterableWithMarker.class.cast(imageApi.list(marker(Iterables.get(markers, 
> 0))));
> +               } else {
> +                  return IterableWithMarkers.EMPTY;
> +               }
> +            }
> +
> +            @Override
> +            public String toString() {
> +               return "list()";

Can this be changed to something more descriptive?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/77/files#r9094740

Reply via email to