We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba2298 commit fba6706Copy full SHA for fba6706
complete-kotlin/src/main/kotlin/com/example/consumingrest/ConsumingRestApplication.kt
@@ -10,13 +10,11 @@ import org.springframework.context.annotation.Profile
10
import org.springframework.web.client.RestTemplate
11
import org.springframework.web.client.getForObject
12
13
+private val log = LoggerFactory.getLogger(ConsumingRestApplication::class.java)
14
+
15
@SpringBootApplication
16
class ConsumingRestApplication {
17
- companion object {
- private val log = LoggerFactory.getLogger(ConsumingRestApplication::class.java)
18
- }
19
-
20
@Bean
21
fun restTemplate(builder: RestTemplateBuilder): RestTemplate {
22
return builder.build()
0 commit comments