Reformat & cleanup: LiftReturnOrAssignmentInspection

This commit is contained in:
Toshiaki Kameyama
2018-10-25 06:22:12 +03:00
committed by Mikhail Glukhikh
parent ebc998d710
commit f771ed5dd8
@@ -81,7 +81,7 @@ class LiftReturnOrAssignmentInspection : AbstractKotlinInspection() {
} }
} }
private class LiftReturnOutFix (private val keyword: String) : LocalQuickFix { private class LiftReturnOutFix(private val keyword: String) : LocalQuickFix {
override fun getName() = "Lift return out of '$keyword'" override fun getName() = "Lift return out of '$keyword'"
override fun getFamilyName() = name override fun getFamilyName() = name
@@ -91,7 +91,7 @@ class LiftReturnOrAssignmentInspection : AbstractKotlinInspection() {
} }
} }
private class LiftAssignmentOutFix (private val keyword: String) : LocalQuickFix { private class LiftAssignmentOutFix(private val keyword: String) : LocalQuickFix {
override fun getName() = "Lift assignment out of '$keyword'" override fun getName() = "Lift assignment out of '$keyword'"
override fun getFamilyName() = name override fun getFamilyName() = name
@@ -102,6 +102,6 @@ class LiftReturnOrAssignmentInspection : AbstractKotlinInspection() {
} }
companion object { companion object {
private val LINES_LIMIT = 15 private const val LINES_LIMIT = 15
} }
} }