Skip to content

Commit

Permalink
Polish "Harmonize Kotlin example"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Jun 20, 2022
1 parent 6685d49 commit 8b9579e
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -21,6 +21,8 @@ import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.Bean

import kotlin.system.exitProcess

@SpringBootApplication
class MyApplication {

Expand All @@ -32,5 +34,6 @@ class MyApplication {
}

fun main(args: Array<String>) {
exitProcess(SpringApplication.exit(SpringApplication.run(MyApplication::class.java, *args)))
exitProcess(SpringApplication.exit(
SpringApplication.run(MyApplication::class.java, *args)))
}

0 comments on commit 8b9579e

Please sign in to comment.