mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[kotlin] Fix java.lang.NullPointerException
^KTIJ-29405 Fixed GitOrigin-RevId: e8bf75aba047eece17f25600b0fc8bb2487a19a8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
67af0bccec
commit
c58d14f3af
@@ -53,6 +53,7 @@ abstract class AbstractKotlinInplaceIntroducer<D : KtNamedDeclaration>(
|
||||
}
|
||||
|
||||
protected fun updateVariableName() {
|
||||
if (localVariable == null) return
|
||||
val currentName = inputName.quoteIfNeeded()
|
||||
if (currentName.isIdentifier()) {
|
||||
localVariable.setName(currentName)
|
||||
|
||||
Reference in New Issue
Block a user