jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds] [Softlayer] Implements setting and retrieving the notes property (#756)
Date Tue, 02 Jun 2015 23:54:13 GMT
> +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
Mime
View raw message