[kotlin] cleanup: migrate usages of some deprecated API (IJPL-503)

GitOrigin-RevId: 27837d54d1f236c2e20c93b033e85ba21d335fd3
This commit is contained in:
Nikolay Chashnikov
2024-05-10 09:28:21 +02:00
committed by intellij-monorepo-bot
parent a89fee8bd5
commit a56306cd9f
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class HasPlatformTypeInspection(
if (expression != null &&
(!reportPlatformArguments || !TypeUtils.makeNotNullable(type).isFlexibleRecursive())
) {
return listOfNotNull(getAddExclExclCallFix(expression)?.let { IntentionWrapper(it, element.containingFile) })
return listOfNotNull(getAddExclExclCallFix(expression)?.let { IntentionWrapper(it) })
}
}

View File

@@ -77,7 +77,7 @@ class PlatformExtensionReceiverOfInlineInspection : AbstractKotlinInspection() {
receiverExpression,
KotlinBundle.message("call.of.inline.function.with.nullable.extension.receiver.can.cause.npe.in.kotlin.1.2"),
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
IntentionWrapper(it, receiverExpression.containingKtFile)
IntentionWrapper(it)
)
}
}