Skip to content

Commit

Permalink
refactor(#53): use default RestTemplateBuilder autowired
Browse files Browse the repository at this point in the history
  • Loading branch information
KimDoubleB committed Jan 22, 2023
1 parent bad8960 commit 478aee4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ import java.util.function.Supplier
@Configuration
class ClientConfig {

@Bean
fun restTemplateBuilder(): RestTemplateBuilder {
return RestTemplateBuilder()
}

@Bean
fun restTemplate(restTemplateBuilder: RestTemplateBuilder): RestTemplate {
return restTemplateBuilder
Expand Down

0 comments on commit 478aee4

Please sign in to comment.