> +   private final Json json;
> +
> +   @Inject
> +   public NotesToJson(Json json) {
> +      this.json = checkNotNull(json, "json");
> +   }
> +
> +   @Override
> +   public <R extends HttpRequest> R bindToRequest(R request, Object input) {
> +      checkArgument(input instanceof String);
> +      String notes = (String)checkNotNull(input, "input");
> +      request.setPayload(buildJson(notes));
> +      return request;
> +   }
> +
> +   String buildJson(String notes) {

Why not private?

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

Reply via email to