From fed5acddbe84d4e7f11e16a70b801c17a2f8aef4 Mon Sep 17 00:00:00 2001 From: David Kleiven Date: Tue, 26 Sep 2023 12:25:51 +0200 Subject: [PATCH] Rename Application.kt to App.kt --- src/main/{Application.kt => App.kt} | 1 - src/main/resources/application.conf | 2 +- src/test/{ApplicationTest.kt => AppTest.kt} | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename src/main/{Application.kt => App.kt} (97%) rename src/test/{ApplicationTest.kt => AppTest.kt} (100%) diff --git a/src/main/Application.kt b/src/main/App.kt similarity index 97% rename from src/main/Application.kt rename to src/main/App.kt index 774d13a..d043ea4 100644 --- a/src/main/Application.kt +++ b/src/main/App.kt @@ -7,7 +7,6 @@ import io.ktor.server.plugins.contentnegotiation.* import io.ktor.server.request.* import io.ktor.server.response.* import io.ktor.server.routing.* -import java.io.ByteArrayInputStream fun main(args: Array): Unit = io.ktor.server.netty.EngineMain.main(args) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 5a6bfd2..534f8c7 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -4,6 +4,6 @@ ktor { port = ${?PORT} } application { - modules = [ com.github.statnett.loadflowservice.ApplicationKt.module ] + modules = [ com.github.statnett.loadflowservice.AppKt.module ] } } \ No newline at end of file diff --git a/src/test/ApplicationTest.kt b/src/test/AppTest.kt similarity index 100% rename from src/test/ApplicationTest.kt rename to src/test/AppTest.kt