Skip to content

Commit

Permalink
MyBundle: remove SpreadOperator suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz committed Aug 7, 2023
1 parent 9ab89d0 commit f723411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/main/kotlin/org/jetbrains/plugins/template/MyBundle.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f723411

Please sign in to comment.