From 4eda5bd36fc8de1fc795d69c95399ac9f9d30f54 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 5 Jun 2023 17:17:07 -0700 Subject: [PATCH] Polish --- .../boot/SpringApplicationExtensions.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)`. *