Skip to content

Commit 6685d49

Browse files
ningenMesnicoll
authored andcommitted
Harmonize Kotlin example
See gh-31458
1 parent cd38347 commit 6685d49

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/springapplication/applicationexit

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/springapplication/applicationexit/MyApplication.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ class MyApplication {
3232
}
3333

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

0 commit comments

Comments
 (0)