From 06adb405e1828c672fb4fd42d45dc60f25ea0cf7 Mon Sep 17 00:00:00 2001 From: Mark Punzalan Date: Fri, 21 May 2021 21:32:17 +0000 Subject: [PATCH] IDE: Remove duplicate quickfix message in resources. --- .../resources-en/messages/KotlinBundle.properties | 1 - .../kotlin/idea/quickfix/ReplaceInfixOrOperatorCallFix.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/idea/idea-frontend-independent/resources-en/messages/KotlinBundle.properties b/idea/idea-frontend-independent/resources-en/messages/KotlinBundle.properties index 28cf8ab8804..b9bef5db216 100644 --- a/idea/idea-frontend-independent/resources-en/messages/KotlinBundle.properties +++ b/idea/idea-frontend-independent/resources-en/messages/KotlinBundle.properties @@ -1150,7 +1150,6 @@ replace.with.safe.this.call=Replace with safe (this?.) call replace.with.safe.call=Replace with safe (?.) call replace.scope.function.with.safe.call=Replace scope function with safe (?.) call replace.with.dot.call=Replace with dot call -replace.with.safe.call1=Replace with safe (?.) call replace.invalid.positioned.arguments.for.annotation=Replace invalid positioned arguments for annotation replace.jvmfield.with.const=Replace '@JvmField' with 'const' replace.modifier=Replace modifier diff --git a/idea/src/org/jetbrains/kotlin/idea/quickfix/ReplaceInfixOrOperatorCallFix.kt b/idea/src/org/jetbrains/kotlin/idea/quickfix/ReplaceInfixOrOperatorCallFix.kt index 423aabb83ae..219d77f4c21 100644 --- a/idea/src/org/jetbrains/kotlin/idea/quickfix/ReplaceInfixOrOperatorCallFix.kt +++ b/idea/src/org/jetbrains/kotlin/idea/quickfix/ReplaceInfixOrOperatorCallFix.kt @@ -26,7 +26,7 @@ class ReplaceInfixOrOperatorCallFix( private val notNullNeeded: Boolean ) : KotlinQuickFixAction(element) { - override fun getText() = KotlinBundle.message("replace.with.safe.call1") + override fun getText() = KotlinBundle.message("replace.with.safe.call") override fun getFamilyName() = text