diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Config.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Config.kt index c332075..09e134c 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Config.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/Config.kt @@ -35,11 +35,4 @@ class Config { val botToken: String = (prop.getProperty("botToken")) val instanceDomain: String = (prop.getProperty("instance")) val superSecret: String = (prop.getProperty("superSecret")) - - fun stringToWords(s: String) = - s - .trim() - .splitToSequence(", ") - .filter { it.isNotEmpty() } // or: .filter { it.isNotBlank() } - .toList() }