String payload = JSONUtils.toJson(revisions);
<BUG>InputStream is = null;
try {</BUG>
HttpConnection connection = Http.POST(uri, "application/json");
<BUG>connection.setRequestBody(payload);
is = executeToInputStreamWithRetry(connection);
return JSONUtils.fromJson(new InputStreamReader(is, Charset.forName("UTF-8")),
JSONUtils.mapStringMissingRevisions());
} finally {
closeQuietly(is);
}</BUG>
}

String payload = JSONUtils.toJson(revisions);
HttpConnection connection = Http.POST(uri, "application/json");
connection.setRequestBody(payload);
return executeToJsonObjectWithRetry(connection, JSONUtils.STRING_MISSING_REVS_MAP_TYPE_DEF);
}
