> + * 
> + * @author Andrea Turli
> + */
> +@Singleton
> +public class TagToJson implements Binder {
> +
> +   private final Json json;
> +
> +   @Inject
> +   public TagToJson(Json json) {
> +      this.json = checkNotNull(json, "json");
> +   }
> +
> +   @Override
> +   public <R extends HttpRequest> R bindToRequest(R request, Object input) {
> +      Set<String> tags = Set.class.cast(checkNotNull(input, "parameters"));

Do we need a `checkArgument` on the input here, or do we know that it will be a 
set? And should that be `checkNotNull(input, "input")`?

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

Reply via email to