MyBundle: remove SpreadOperator suppression

This commit is contained in:
Jakub Chrzanowski
2023-08-07 15:47:41 +02:00
parent 9ab89d093c
commit f723411f94
2 changed files with 2 additions and 2 deletions

View File

@@ -9,12 +9,11 @@ private const val BUNDLE = "messages.MyBundle"
object MyBundle : DynamicBundle(BUNDLE) {
@Suppress("SpreadOperator")
@JvmStatic
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
getMessage(key, *params)
@Suppress("SpreadOperator", "unused")
@Suppress("unused")
@JvmStatic
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
getLazyMessage(key, *params)