Skip to content

Commit

Permalink
Style: GetResponse post 요청 메서드 제네릭 타입 선언 순서 변경
Browse files Browse the repository at this point in the history
가독성을 위해 변경

[#45]
  • Loading branch information
MuseopKim committed Jun 27, 2021
1 parent 022a481 commit e91cf5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public <T> T getRequest(String requestPath, Class<T> payloadType) {
return response.getBody();
}

public <T, B> T postRequest(String requestPath, Class<T> payloadType, B requestBody) {
public <B, T> T postRequest(String requestPath, B requestBody, Class<T> payloadType) {
RestTemplate restTemplate = new RestTemplate();
URI requestURI = createGetResponseRequestURI(requestPath);
HttpHeaders headers = createRequestHeaders();
Expand Down

0 comments on commit e91cf5d

Please sign in to comment.