mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
MyBundle
: remove SpreadOperator
suppression
This commit is contained in:
parent
9ab89d093c
commit
f723411f94
@ -8,6 +8,7 @@
|
|||||||
- GitHub Actions: move the `Maximize Build Space` step from the `Build` job to `Inspect code` and `Verify plugin` jobs
|
- 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`
|
- Update `platformVersion` to `2022.3.3`
|
||||||
- Change since/until build to `223-232.*` (2022.3-2023.2.*)
|
- Change since/until build to `223-232.*` (2022.3-2023.2.*)
|
||||||
|
- `MyBundle`: remove `SpreadOperator` suppression
|
||||||
- `MyBundle.properties`: remove unused `name` property
|
- `MyBundle.properties`: remove unused `name` property
|
||||||
|
|
||||||
## [1.10.0] - 2023-08-04
|
## [1.10.0] - 2023-08-04
|
||||||
|
@ -9,12 +9,11 @@ private const val BUNDLE = "messages.MyBundle"
|
|||||||
|
|
||||||
object MyBundle : DynamicBundle(BUNDLE) {
|
object MyBundle : DynamicBundle(BUNDLE) {
|
||||||
|
|
||||||
@Suppress("SpreadOperator")
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
|
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
|
||||||
getMessage(key, *params)
|
getMessage(key, *params)
|
||||||
|
|
||||||
@Suppress("SpreadOperator", "unused")
|
@Suppress("unused")
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
|
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) =
|
||||||
getLazyMessage(key, *params)
|
getLazyMessage(key, *params)
|
||||||
|
Loading…
Reference in New Issue
Block a user