Minor fixes: can be constructor property
(cherry picked from commit 4d44e15)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
8d2389d15c
commit
4145e3438f
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user