> @@ -76,7 +76,8 @@ protected ToPagedIterable(NeutronApi api) {
>              @SuppressWarnings("unchecked")
>              @Override
>              public IterableWithMarker<Network> apply(Object input) {
> -               return 
> IterableWithMarker.class.cast(networkApi.listInDetail(marker(input.toString())));
> +               PaginationOptions paginationOptions = 
> PaginationOptions.class.cast(input);

Do we know this cast is always going to succeed? Is `Object` still the correct 
argument type for the method, in this case? Otherwise, should we add a 
`checkArgument` here?

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

Reply via email to