Polish "Harmonize Kotlin example"

See gh-31458
pull/31463/head
Stephane Nicoll 2 years ago
parent 6685d49faa
commit 8b9579eeb7

@ -21,6 +21,8 @@ import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Bean
import kotlin.system.exitProcess
@SpringBootApplication @SpringBootApplication
class MyApplication { class MyApplication {
@ -32,5 +34,6 @@ class MyApplication {
} }
fun main(args: Array<String>) { fun main(args: Array<String>) {
exitProcess(SpringApplication.exit(SpringApplication.run(MyApplication::class.java, *args))) exitProcess(SpringApplication.exit(
SpringApplication.run(MyApplication::class.java, *args)))
} }

Loading…
Cancel
Save