Skip to content

Commit f9d32f9

Browse files
committed
removed superfluous toString on a String
1 parent 021e52e commit f9d32f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/amadeus/HTTPClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public Response post(String path, Params params, JsonObject body) throws Respons
236236
* @return a Response object containing the status code, body, and parsed data.
237237
*/
238238
public Response post(String path, Params params, String body) throws ResponseException {
239-
return request(Constants.POST, path, params, body.toString());
239+
return request(Constants.POST, path, params, body);
240240
}
241241

242242
/**

0 commit comments

Comments
 (0)