correct the assertion

This commit is contained in:
peter
2011-03-01 12:53:05 +01:00
parent 275297c607
commit ce596aebeb
@@ -137,7 +137,10 @@ public class DomElementProblemDescriptorImpl implements DomElementProblemDescrip
if (myPair == null) {
myPair = computeProblemRange();
}
assert myPair.second.isValid();
PsiElement element = myPair.second;
if (element != null) {
assert element.isValid();
}
return myPair;
}