> +import static com.google.common.base.Preconditions.checkNotNull;
> +import static java.lang.String.format;
> +
> +import java.util.Map;
> +
> +import javax.ws.rs.core.MediaType;
> +
> +import org.jclouds.http.HttpRequest;
> +import org.jclouds.rest.MapBinder;
> +
> +import com.google.common.base.Strings;
> +
> +public abstract class BaseProfitBricksRequestBinder<T> implements MapBinder {
> +
> + protected final StringBuilder requestBuilder;
> + protected String paramName;
If this has to be initialised in the constructor, provide a `protected`
constructor that requires this as a parameter. Subclasses should call this
constructor from their default one, and we would avoid having this field not
initialised.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r22133494