> +
> +      @Override
> +      protected Function<Object, IterableWithMarker<ReferenceWithName>> 
> markerToNextForArg0(Optional<Object> arg0) {
> +         String zone = arg0.isPresent() ? arg0.get().toString() : null;
> +         final RouterApi routerApi = 
> api.getRouterExtensionForZone(zone).get();
> +         return new Function<Object, 
> IterableWithMarker<ReferenceWithName>>() {
> +
> +            @SuppressWarnings("unchecked")
> +            @Override
> +            public IterableWithMarker<ReferenceWithName> apply(Object input) 
> {
> +               return 
> IterableWithMarker.class.cast(routerApi.list(marker(input.toString())));
> +            }
> +
> +            @Override
> +            public String toString() {
> +               return "list()";

See comment above

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

Reply via email to