diff --git a/idea/src/org/jetbrains/kotlin/idea/quickfix/RemoveNoConstructorFix.kt b/idea/src/org/jetbrains/kotlin/idea/quickfix/RemoveNoConstructorFix.kt index 11522aa1f16..a1f364cc91d 100644 --- a/idea/src/org/jetbrains/kotlin/idea/quickfix/RemoveNoConstructorFix.kt +++ b/idea/src/org/jetbrains/kotlin/idea/quickfix/RemoveNoConstructorFix.kt @@ -28,7 +28,7 @@ import org.jetbrains.kotlin.psi.psiUtil.getStrictParentOfType class RemoveNoConstructorFix(constructor: KtValueArgumentList) : KotlinQuickFixAction(constructor) { - override fun getText() = "Remove no constructor" + override fun getText() = "Remove constructor call" override fun getFamilyName() = text diff --git a/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCallNoClass.kt b/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCallNoClass.kt index 8af8675c455..5c53b0c7186 100644 --- a/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCallNoClass.kt +++ b/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/delegatorToSuperCallNoClass.kt @@ -1,5 +1,6 @@ // "Create secondary constructor" "false" // ERROR: This class does not have a constructor +// ACTION: Remove constructor call interface T { diff --git a/idea/testData/quickfix/removeNoConstructor/basic.kt b/idea/testData/quickfix/removeNoConstructor/basic.kt index 3af6742b6be..f59c22a5a04 100644 --- a/idea/testData/quickfix/removeNoConstructor/basic.kt +++ b/idea/testData/quickfix/removeNoConstructor/basic.kt @@ -1,4 +1,4 @@ -// "Remove no constructor" "true" +// "Remove constructor call" "true" interface Base class Derived : Base() \ No newline at end of file diff --git a/idea/testData/quickfix/removeNoConstructor/basic.kt.after b/idea/testData/quickfix/removeNoConstructor/basic.kt.after index e4918561501..8d01f2be43f 100644 --- a/idea/testData/quickfix/removeNoConstructor/basic.kt.after +++ b/idea/testData/quickfix/removeNoConstructor/basic.kt.after @@ -1,4 +1,4 @@ -// "Remove no constructor" "true" +// "Remove constructor call" "true" interface Base class Derived : Base \ No newline at end of file