}).fromJsonTree(perms);
}
public List<Shard> getShards() {
InputStream response = null;
try {
<BUG>response = client.couchDbClient.get(buildUri(getDBUri()).path("_shards").build());

return getResponseList(response, client.getGson(),</BUG>
new TypeToken<List<Shard>>() {
}.getType());

}).fromJsonTree(perms);
}
public List<Shard> getShards() {
InputStream response = null;
try {
response = client.couchDbClient.get(new DatabaseURIHelper(db.getDBUri()).path("_shards")
.build());
return getResponseList(response, client.getGson(),
new TypeToken<List<Shard>>() {
}.getType());
