Minor fixes: can be constructor property

(cherry picked from commit 4d44e15)
This commit is contained in:
Mikhail Glukhikh
2016-06-17 16:41:15 +03:00
committed by Mikhail Glukhikh
parent 8d2389d15c
commit 4145e3438f
3 changed files with 4 additions and 4 deletions
@@ -58,7 +58,7 @@ class CanBePrimaryConstructorPropertyInspection : AbstractKotlinInspection() {
holder.registerProblem(holder.manager.createProblemDescriptor(
nameIdentifier,
nameIdentifier,
"Property is explicitly assigned by parameter ${assignedDescriptor.name}, can be declared directly in constructor",
"Property is explicitly assigned to parameter ${assignedDescriptor.name}, can be declared directly in constructor",
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
isOnTheFly,
MakeConstructorPropertyFix(property, assignedParameter)