> @@ -56,6 +56,8 @@ protected BaseProfitBricksRequestBinder(String paramName) {
>     protected abstract String createPayload(T payload);
>  
>     protected String formatIfNotEmpty(String pattern, Object param) {
> +      if (param == null )
> +         return "";
>        return Strings.isNullOrEmpty(param.toString()) ? "" : 
> String.format(pattern, param);

[minor] You could do it in a more elegant way as:
```java
return Strings.emptyToNull(param) == null ? "" : String.format(pattern, param);
```

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

Reply via email to