Fix NPE in AndroidPsiTreeChangePreprocessor

This commit is contained in:
Yan Zhulanow
2015-09-17 13:26:59 +03:00
parent 61d78e0880
commit 07b77432de
@@ -42,7 +42,7 @@ public class AndroidPsiTreeChangePreprocessor : PsiTreeChangePreprocessor, Simpl
return return
} }
if (checkIfLayoutFile(child)) { if (child != null && checkIfLayoutFile(child)) {
incModificationCount() incModificationCount()
return return
} }