From 9685729de9c56d9215a5b2e81cefd62e6f47df0d Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 1 Jan 2025 05:52:46 +0100 Subject: [PATCH] Fix smol syntax thingy (first 2025 commit woo!) --- .../base/implementation/logging/adapter/PrintlnAdapter.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/adapter/PrintlnAdapter.kt b/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/adapter/PrintlnAdapter.kt index c515714..5fa2acd 100644 --- a/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/adapter/PrintlnAdapter.kt +++ b/base/src/main/kotlin/de/staropensource/engine/base/implementation/logging/adapter/PrintlnAdapter.kt @@ -1,6 +1,6 @@ /* * STAROPENSOURCE ENGINE SOURCE FILE - * Copyright (c) 2024 The StarOpenSource Engine Authors + * Copyright (c) 2025 The StarOpenSource Engine Authors * Licensed under the GNU General Public License v3. * * This program is free software: you can redistribute it and/or modify @@ -46,7 +46,5 @@ class PrintlnAdapter private constructor(): Adapter { val instance: PrintlnAdapter = PrintlnAdapter() } - override fun handle(call: Call, format: String) { - println(format) - } + override fun handle(call: Call, format: String) = println(format) }