You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Ignasi Barrera <no...@github.com> on 2015/06/03 01:54:13 UTC
Re: [jclouds] [Softlayer] Implements setting and retrieving the notes
property (#756)
> +import com.google.common.collect.ImmutableMap;
> +import com.google.inject.Inject;
> +import com.google.inject.Singleton;
> +
> +/**
> + * Converts a String into a json string for changing the notes property of an instance
> + * The string is set into the payload of the HttpRequest
> + *
> + */
> +@Singleton
> +public class NotesToJson implements Binder {
> +
> + private final Json json;
> +
> + @Inject
> + public NotesToJson(Json json) {
Remove the modifier to make the constructor package private, and remove the null check.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/756/files#r31583192