`MyBundle`: remove `SpreadOperator` suppression

pull/395/head v1.11.0
Jakub Chrzanowski 9 months ago
parent 9ab89d093c
commit f723411f94
No known key found for this signature in database
GPG Key ID: C39095BFD769862E

@ -8,6 +8,7 @@
- GitHub Actions: move the `Maximize Build Space` step from the `Build` job to `Inspect code` and `Verify plugin` jobs
- Update `platformVersion` to `2022.3.3`
- Change since/until build to `223-232.*` (2022.3-2023.2.*)
- `MyBundle`: remove `SpreadOperator` suppression
- `MyBundle.properties`: remove unused `name` property
## [1.10.0] - 2023-08-04

@ -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)

Loading…
Cancel
Save