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