Replace toString with string template: fix grammar

This commit is contained in:
Mikhail Glukhikh
2018-10-25 12:53:41 +03:00
parent 6e10235208
commit 506f7aaa68
@@ -32,7 +32,7 @@ class ReplaceToStringWithStringTemplateInspection : AbstractApplicabilityBasedIn
element.replace(KtPsiFactory(element).createExpression("\"$$variable\""))
}
override fun inspectionText(element: KtDotQualifiedExpression) = "Should be replaced 'toString' with string template"
override fun inspectionText(element: KtDotQualifiedExpression) = "Call of 'toString' could be replaced with string template"
override fun inspectionTarget(element: KtDotQualifiedExpression) = element