From f621b0e8c684265813fc38bb07e0c3574a0aa19c Mon Sep 17 00:00:00 2001 From: Grzegorz Bobryk Date: Mon, 11 Sep 2023 22:55:55 +0200 Subject: [PATCH] [maintenance] toLowerCase deprecation Deprecated `toLowerCase()` method replaced with `lowercase()` --- .../commonMain/kotlin/org/koin/core/qualifier/Qualifier.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/core/koin-core/src/commonMain/kotlin/org/koin/core/qualifier/Qualifier.kt b/projects/core/koin-core/src/commonMain/kotlin/org/koin/core/qualifier/Qualifier.kt index 007104127..815cff190 100644 --- a/projects/core/koin-core/src/commonMain/kotlin/org/koin/core/qualifier/Qualifier.kt +++ b/projects/core/koin-core/src/commonMain/kotlin/org/koin/core/qualifier/Qualifier.kt @@ -52,6 +52,6 @@ inline fun qualifier() = TypeQualifier(T::class) inline fun _q() = TypeQualifier(T::class) val > Enum.qualifier - get(): Qualifier { - return StringQualifier(this.toString().toLowerCase()) + get() : Qualifier { + return StringQualifier(toString().lowercase()) }