> + SortedMap<String, String> sorted = new TreeMap<String, String>();
> + if (params == null) {
> + return "";
> + }
> + Iterator<Map.Entry<String, String>> pairs =
> params.entries().iterator();
> + while (pairs.hasNext()) {
> + Map.Entry<String, String> pair = pairs.next();
> + String key = pair.getKey();
> + String value = pair.getValue();
> + sorted.put(urlEncode(key), urlEncode(value));
> + }
> +
> + StringBuilder builder = new StringBuilder();
> + pairs = sorted.entrySet().iterator();
> + while (pairs.hasNext()) {
> + Map.Entry<String, String> pair = pairs.next();
ok
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/678/files#r24555334