diff --git a/spring-boot-project/spring-boot/src/main/kotlin/org/springframework/boot/SpringApplicationExtensions.kt b/spring-boot-project/spring-boot/src/main/kotlin/org/springframework/boot/SpringApplicationExtensions.kt index 8a1269d06b..bbfdbdb5cd 100644 --- a/spring-boot-project/spring-boot/src/main/kotlin/org/springframework/boot/SpringApplicationExtensions.kt +++ b/spring-boot-project/spring-boot/src/main/kotlin/org/springframework/boot/SpringApplicationExtensions.kt @@ -19,9 +19,9 @@ package org.springframework.boot import org.springframework.context.ConfigurableApplicationContext /** - * Top level function acting as a Kotlin shortcut allowing to write - * `runApplication(arg1, arg2)` instead of - * `SpringApplication.run(FooApplication::class.java, arg1, arg2)`. + * Top-level function acting as a Kotlin shortcut allowing to write + * `runApplication(arg1, arg2)` instead of + * `SpringApplication.run(MyApplication::class.java, arg1, arg2)`. * * @author Sebastien Deleuze * @since 2.0.0 @@ -30,8 +30,8 @@ inline fun runApplication(vararg args: String): ConfigurableAp SpringApplication.run(T::class.java, *args) /** - * Top level function acting as a Kotlin shortcut allowing to write - * `runApplication(arg1, arg2) { // SpringApplication customization ... }` + * Top-level function acting as a Kotlin shortcut allowing to write + * `runApplication(arg1, arg2) { // SpringApplication customization ... }` * instead of instantiating `SpringApplication` class, customize it and then invoking * `run(arg1, arg2)`. *