> @@ -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);

I can't exactly use it, since the param expects a String. (Doing 
<code>#toString()</code> won't do on null, cast to String throws a 
<code>ClassCastException</code> for <code>Boolean</code>) Anyway, see the 
change I did instead

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

Reply via email to