>  public interface SnapshotApi {
>     /**
>      * Returns a summary list of Snapshots.
>      *
>      * @return The list of Snapshots
>      */
> +   @Named("snapshot:list")
> +   @GET
> +   @Path("/snapshots")
> +   @SelectJson("snapshots")
> +   @Consumes(MediaType.APPLICATION_JSON)
> +   @Fallback(EmptyFluentIterableOnNotFoundOr404.class)       
>     FluentIterable<? extends Snapshot> list();

Might be simpler without the ? extends - I remember having a discussion with 
Adrian about it.

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

Reply via email to