Minor cleanup
This commit is contained in:
@@ -46,9 +46,9 @@ class UnnecessaryVariableInspection : AbstractKotlinInspection() {
|
|||||||
holder.registerProblem(
|
holder.registerProblem(
|
||||||
nameIdentifier,
|
nameIdentifier,
|
||||||
when (status) {
|
when (status) {
|
||||||
UnnecessaryVariableInspection.Companion.Status.RETURN_ONLY ->
|
Status.RETURN_ONLY ->
|
||||||
"Variable used only in following return and can be inlined"
|
"Variable used only in following return and can be inlined"
|
||||||
UnnecessaryVariableInspection.Companion.Status.EXACT_COPY ->
|
Status.EXACT_COPY ->
|
||||||
"Variable is an exact copy of another variable and can be inlined"
|
"Variable is an exact copy of another variable and can be inlined"
|
||||||
},
|
},
|
||||||
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
|
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
|
||||||
|
|||||||
Reference in New Issue
Block a user