UriTemplate.expand should support Iterable<?> for list parameters #118
From rmis...@google.com on May 21, 2012 07:17:29
Reported by willem.salembier, May 19 (42 hours ago)
Freebase Text API is bugged. The Get object requires to be initialized with a List, but the buildHttpRequestUrl() method uses UriTemplate.expand which expects the id parameter to be passed as an Iterator and not an Iterable.
Get get = freebase.text().get(Arrays.asList("en", "avenue_q")); How would you expect it to be fixed? com.google.api.services.freebase.Freebase.Text.Get.getId() should return an Iterator or UriTemplate.expand should support Iterable for list parameters.