From 4bc10f4c4fea5a57a74c641532edc2173096599a Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Tue, 28 Jan 2020 21:55:10 +0300 Subject: [PATCH] 201: MoveMultipleElementsViewDescriptor constructor nullability --- .../move/moveDeclarations/MoveKotlinDeclarationsProcessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/refactoring/move/moveDeclarations/MoveKotlinDeclarationsProcessor.kt b/idea/src/org/jetbrains/kotlin/idea/refactoring/move/moveDeclarations/MoveKotlinDeclarationsProcessor.kt index 72a6b88fade..ac7ced194d4 100644 --- a/idea/src/org/jetbrains/kotlin/idea/refactoring/move/moveDeclarations/MoveKotlinDeclarationsProcessor.kt +++ b/idea/src/org/jetbrains/kotlin/idea/refactoring/move/moveDeclarations/MoveKotlinDeclarationsProcessor.kt @@ -160,7 +160,7 @@ class MoveKotlinDeclarationsProcessor( override fun createUsageViewDescriptor(usages: Array): UsageViewDescriptor { val targetContainerFqName = descriptor.moveTarget.targetContainerFqName?.let { if (it.isRoot) UsageViewBundle.message("default.package.presentable.name") else it.asString() - } + } ?: UsageViewBundle.message("default.package.presentable.name") return MoveMultipleElementsViewDescriptor(elementsToMove.toTypedArray(), targetContainerFqName) }