Replace toString with string template: fix grammar
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ class ReplaceToStringWithStringTemplateInspection : AbstractApplicabilityBasedIn
|
|||||||
element.replace(KtPsiFactory(element).createExpression("\"$$variable\""))
|
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
|
override fun inspectionTarget(element: KtDotQualifiedExpression) = element
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user