mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
MyBundle: remove SpreadOperator suppression
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user