From 79182f165cf3eeae85b0d6815100c984ff41da01 Mon Sep 17 00:00:00 2001 From: Marvin Elsen Date: Wed, 6 Nov 2024 18:13:08 +0100 Subject: [PATCH] Cleanup unused stuff and fix detekt issues --- src/main/kotlin/com/marvinelsen/willow/Main.kt | 2 +- .../kotlin/com/marvinelsen/willow/ui/util/Concurrency.kt | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/main/kotlin/com/marvinelsen/willow/ui/util/Concurrency.kt diff --git a/src/main/kotlin/com/marvinelsen/willow/Main.kt b/src/main/kotlin/com/marvinelsen/willow/Main.kt index ef3999e..c05a38f 100644 --- a/src/main/kotlin/com/marvinelsen/willow/Main.kt +++ b/src/main/kotlin/com/marvinelsen/willow/Main.kt @@ -2,4 +2,4 @@ package com.marvinelsen.willow fun main(args: Array) { actualMain(args) -} \ No newline at end of file +} diff --git a/src/main/kotlin/com/marvinelsen/willow/ui/util/Concurrency.kt b/src/main/kotlin/com/marvinelsen/willow/ui/util/Concurrency.kt deleted file mode 100644 index 13fcfb9..0000000 --- a/src/main/kotlin/com/marvinelsen/willow/ui/util/Concurrency.kt +++ /dev/null @@ -1,7 +0,0 @@ -package com.marvinelsen.willow.ui.util - -import javafx.concurrent.Task - -fun task(block: () -> T) = object : Task() { - override fun call() = block() -}