> Multimap<String, Object> queryParams = addQueryParams(tokenValues,
> invocation);
> - Multimap<String, String> headers = buildHeaders(tokenValues,
> invocation);
> +
> + Multimap<String, String> headers;
> +
> + if (caller != null) {
> + headers = buildHeaders(tokenValues, caller);
> + headers.putAll(buildHeaders(tokenValues, invocation));
> + } else {
> + headers = buildHeaders(tokenValues, invocation);
> I found 2 other places within the apply method that had the style I
> eventually used
Makes sense, let's stick with that, then. Thanks for explaining!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/226/files#r8235803