Skip to content

Commit f723411

Browse files
committed
MyBundle: remove SpreadOperator suppression
1 parent 9ab89d0 commit f723411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- GitHub Actions: move the `Maximize Build Space` step from the `Build` job to `Inspect code` and `Verify plugin` jobs
99
- Update `platformVersion` to `2022.3.3`
1010
- Change since/until build to `223-232.*` (2022.3-2023.2.*)
11+
- `MyBundle`: remove `SpreadOperator` suppression
1112
- `MyBundle.properties`: remove unused `name` property
1213

1314
## [1.10.0] - 2023-08-04

src/main/kotlin/org/jetbrains/plugins/template/MyBundle.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ private const val BUNDLE = "messages.MyBundle"
99

1010
object MyBundle : DynamicBundle(BUNDLE) {
1111

12-
@Suppress("SpreadOperator")
1312
@JvmStatic
1413
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
1514
getMessage(key, *params)
1615

17-
@Suppress("SpreadOperator", "unused")
16+
@Suppress("unused")
1817
@JvmStatic
1918
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
2019
getLazyMessage(key, *params)

0 commit comments

Comments
 (0)