> + */
> +package org.apache.jclouds.profitbricks.rest.binder.snapshot;
> +
> +import static com.google.common.base.Preconditions.checkNotNull;
> +import com.google.inject.Inject;
> +import java.util.HashMap;
> +import java.util.Map;
> +import 
> org.apache.jclouds.profitbricks.rest.binder.BaseProfitBricksRequestBinder;
> +import org.apache.jclouds.profitbricks.rest.domain.Snapshot;
> +import org.jclouds.http.HttpRequest;
> +import org.jclouds.json.Json;
> +
> +public class UpdateSnapshotRequestBinder extends 
> BaseProfitBricksRequestBinder<Snapshot.Request.UpdatePayload> {
> +
> +   final Map<String, Object> requestBuilder;
> +   final Json jsonBinder;

I've refactored it out into the base class. Good thing for noticing it. I think 
they are only two binders that build the form encoded data, all others are 
using json.

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

Reply via email to