mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gradle: possible npe fix
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class GradleConfigurationsContributor : GradleMethodContextContributor {
|
||||
val call = getContainingCall(closure) ?: return true
|
||||
val result = resolveActualCall(call)
|
||||
for (psiType in result.substitutor.substitutionMap.values) {
|
||||
if (psiType.equalsToText(GRADLE_API_CONFIGURATION)) {
|
||||
if (psiType != null && psiType.equalsToText(GRADLE_API_CONFIGURATION)) {
|
||||
if (!GradleResolverUtil.processDeclarations(psiManager, processor, state, place, GRADLE_API_CONFIGURATION)) return false
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user