mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[kotlin] cleanup: migrate usages of some deprecated API (IJPL-503)
GitOrigin-RevId: 27837d54d1f236c2e20c93b033e85ba21d335fd3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a89fee8bd5
commit
a56306cd9f
@@ -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) })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user