> + 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!");
> + checkNotNull(request, "request");
> +
> + Map<String, String> userMetadata = Maps2.transformKeys((Map<String,
> String>) input, FN);
Eclipse doesn't seem to like the fact that I tried to remove the cast. Leaving
in for now...
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/17/files#r6251426