Fix #KT-26353 'Make variable immutable' is a bad name for a quickfix that changes 'var' to 'val'

This commit is contained in:
kenji tomita
2018-08-28 13:49:38 +09:00
committed by Mikhail Glukhikh
parent e85dcfc3e3
commit e5841441c9
32 changed files with 32 additions and 32 deletions
@@ -36,7 +36,7 @@ class ChangeVariableMutabilityFix(
private val actionText: String? = null
) : KotlinQuickFixAction<KtValVarKeywordOwner>(element) {
override fun getText() = actionText ?: if (makeVar) "Make variable mutable" else "Make variable immutable"
override fun getText() = actionText ?: if (makeVar) "Change to var" else "Change to val"
override fun getFamilyName(): String = text