> + @Override
> + public PagedIterable<T> apply(ListPage<T> input) {
> + if (input.nextMarker() == null)
> + return PagedIterables.of(input);
> +
> + Optional<Object> project =
> tryFind(request.getCaller().get().getArgs(), instanceOf(String.class));
> +
> + Optional<Object> zone = tryFind(request.getCaller().get().getArgs(),
> instanceOf(String.class));
> +
> + Optional<Object> listOptions =
> tryFind(request.getInvocation().getArgs(), instanceOf(ListOptions.class));
> +
> + assert project.isPresent() : String.format("programming error, method
> %s should have a string param for the "
> + + "project", request.getCaller().get().getInvokable());
> +
> + assert zone.isPresent() : String.format("programming error, method %s
> should have a string param for the "
> + + "zone", request.getCaller().get().getInvokable());
'cos I cut and pasted it and this was what was there previously. My default is
to leave as is. =)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/16/files#r5379205