Skip to content

Commit 075b9f3

Browse files
committed
fix annotations
1 parent aa32e91 commit 075b9f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/resources/AmazonQBundle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ object AmazonQBundle {
1010
private const val BUNDLE_FQN: String = "software.aws.toolkits.resources.AmazonQBundle"
1111
private val BUNDLE = DynamicBundle(AmazonQBundle::class.java, BUNDLE_FQN)
1212

13-
fun message(key: @PropertyKey(resourceBundle = BUNDLE_FQN) String, vararg params: Any) =
13+
fun message(@PropertyKey(resourceBundle = BUNDLE_FQN) key: String, vararg params: Any) =
1414
BUNDLE.getMessage(key, *params)
1515

16-
fun messagePointer(key: @PropertyKey(resourceBundle = BUNDLE_FQN) String, vararg params: Any) =
16+
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE_FQN) key: String, vararg params: Any) =
1717
BUNDLE.getLazyMessage(key, *params)
1818
}

plugins/toolkit/jetbrains-core/src/software/aws/toolkits/resources/AwsToolkitBundle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ object AwsToolkitBundle {
1010
private const val BUNDLE_FQN: String = "software.aws.toolkits.resources.MessagesBundle"
1111
private val BUNDLE = DynamicBundle(AwsToolkitBundle::class.java, BUNDLE_FQN)
1212

13-
fun message(key: @PropertyKey(resourceBundle = BUNDLE_FQN) String, vararg params: Any) =
13+
fun message(@PropertyKey(resourceBundle = BUNDLE_FQN) key: String, vararg params: Any) =
1414
BUNDLE.getMessage(key, *params)
1515

16-
fun messagePointer(key: @PropertyKey(resourceBundle = BUNDLE_FQN) String, vararg params: Any) =
16+
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE_FQN) key: String, vararg params: Any) =
1717
BUNDLE.getLazyMessage(key, *params)
1818
}

0 commit comments

Comments
 (0)