mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-14 08:31:29 +00:00
201: Print type explicitly as RefactoringBundle.message() not null
This commit is contained in:
committed by
Nikolay Krasko
parent
4bc10f4c4f
commit
7ea52ebb45
@@ -137,13 +137,13 @@ open class AutomaticVariableRenamerFactory : AutomaticRenamerFactory {
|
||||
KotlinRefactoringSettings.instance.renameVariables = enabled
|
||||
}
|
||||
|
||||
override fun getOptionName() = RefactoringBundle.message("rename.variables")
|
||||
override fun getOptionName(): String? = RefactoringBundle.message("rename.variables")
|
||||
}
|
||||
|
||||
class AutomaticVariableRenamerFactoryForJavaClass : AutomaticVariableRenamerFactory() {
|
||||
override fun isApplicable(element: PsiElement) = element is PsiClass
|
||||
|
||||
override fun getOptionName() = null
|
||||
override fun getOptionName(): String? = null
|
||||
}
|
||||
|
||||
class AutomaticVariableInJavaRenamerFactory : AutomaticRenamerFactory {
|
||||
|
||||
Reference in New Issue
Block a user