mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Small adjustment
IJ-CR-141232 ^KTIJ-29523 GitOrigin-RevId: aac763e23d759711f51962151bcf7f0cc8591018
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a81b7cba35
commit
acb9b6df3b
+1
-1
@@ -20,7 +20,7 @@ class RemoveFunctionBodyFix(
|
||||
elementContext: Unit,
|
||||
updater: ModPsiUpdater,
|
||||
) {
|
||||
val bodyExpression = element.bodyExpression!!
|
||||
val bodyExpression = element.bodyExpression ?: return
|
||||
val equalsToken = element.equalsToken
|
||||
if (equalsToken != null) {
|
||||
val commentSaver = CommentSaver(PsiChildRange(equalsToken.nextSibling, bodyExpression.prevSibling), true)
|
||||
|
||||
Reference in New Issue
Block a user