Skip to content

Commit da60bc9

Browse files
authored
Merge pull request #181 from steve-donovan/master
removed superfluous toString on a String
2 parents e68feb6 + 08eb062 commit da60bc9

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)