> +         }
> +      };
> +
> +      FN2 = new Function<String, String>() {
> +
> +         @Override
> +         public String apply(String element) {
> +            return "";
> +         }
> +      };
> +   }
> +
> +   @SuppressWarnings("unchecked")
> +   @Override
> +   public <R extends HttpRequest> R bindToRequest(R request, Object input) {
> +      checkArgument(checkNotNull(input, "input") instanceof Map<?,?>, "this 
> binder is only valid for Maps!");

Remove one of the checks, since `null instanceof X == false`:
```
checkArgument(input instanceof Map<?,?>, "input must be a non-null 
java.util.Map");
```

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

Reply via email to