From 948cebc6d082a08931671bb45a6da487f335c2b6 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Sun, 5 Nov 2023 12:51:02 +0100 Subject: [PATCH] Add link to Kotlin bug tracker for JvmStatic comment --- .../kotlin/com/github/pemistahl/lingua/internal/Constant.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/pemistahl/lingua/internal/Constant.kt b/src/main/kotlin/com/github/pemistahl/lingua/internal/Constant.kt index 5a7deb5e..66423573 100644 --- a/src/main/kotlin/com/github/pemistahl/lingua/internal/Constant.kt +++ b/src/main/kotlin/com/github/pemistahl/lingua/internal/Constant.kt @@ -150,7 +150,7 @@ internal object Constant { ) // Note: Interestingly @JvmStatic turns the function into a static one instead of adding an additional - // static function; not sure if that is intended or a bug in the Kotlin compiler + // static function (https://youtrack.jetbrains.com/issue/KT-54370), so using it here is probably an improvement @JvmStatic fun isJapaneseScript(script: Character.UnicodeScript): Boolean { return script == Character.UnicodeScript.HIRAGANA ||