> +
> +import static com.google.common.base.Preconditions.checkNotNull;
> +
> +/**
> + * Converts a VirtualGuest into a json string valid for creating a CCI via 
> softlayer api
> + * The string is set into the payload of the HttpRequest
> + * 
> + * @author Andrea Turli
> + */
> +public class VirtualGuestToJson implements Binder {
> +
> +   private Json json;
> +
> +   @Inject
> +   public VirtualGuestToJson(Json json) {
> +      this.json = json;

Add a `checkNotNull` check

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

Reply via email to