From 8faa07392e1bf16783f64e485d5650c0dc1bcd85 Mon Sep 17 00:00:00 2001 From: pricelees Date: Sat, 12 Jul 2025 14:07:14 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=A9=94=EC=9D=B8=20=EC=95=A0?= =?UTF-8?q?=ED=94=8C=EB=A6=AC=EC=BC=80=EC=9D=B4=EC=85=98=20=ED=81=B4?= =?UTF-8?q?=EB=9E=98=EC=8A=A4=20=EC=BD=94=ED=8B=80=EB=A6=B0=20=EB=A7=88?= =?UTF-8?q?=EC=9D=B4=EA=B7=B8=EB=A0=88=EC=9D=B4=EC=85=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/roomescape/RoomescapeApplication.kt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/main/java/roomescape/RoomescapeApplication.kt b/src/main/java/roomescape/RoomescapeApplication.kt index 56ea6335..aca20d20 100644 --- a/src/main/java/roomescape/RoomescapeApplication.kt +++ b/src/main/java/roomescape/RoomescapeApplication.kt @@ -1,15 +1,14 @@ -package roomescape; +package roomescape -import org.springframework.boot.Banner.Mode; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.Banner +import org.springframework.boot.SpringApplication +import org.springframework.boot.autoconfigure.SpringBootApplication @SpringBootApplication -public class RoomescapeApplication { +class RoomescapeApplication - public static void main(String[] args) { - SpringApplication springApplication = new SpringApplication(RoomescapeApplication.class); - springApplication.setBannerMode(Mode.OFF); - springApplication.run(); - } +fun main(args: Array) { + val springApplication = SpringApplication(RoomescapeApplication::class.java) + springApplication.setBannerMode(Banner.Mode.OFF) + springApplication.run() }