Fix NPE in AndroidPsiTreeChangePreprocessor
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ public class AndroidPsiTreeChangePreprocessor : PsiTreeChangePreprocessor, Simpl
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checkIfLayoutFile(child)) {
|
if (child != null && checkIfLayoutFile(child)) {
|
||||||
incModificationCount()
|
incModificationCount()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user