PY-45206 IJ-CR-3996 Removed redundant null checks

GitOrigin-RevId: 124edcd4d7f38149e7aec9b3112d435c0c2a967c
This commit is contained in:
Andrey Vlasovskikh
2021-03-30 14:27:02 +00:00
committed by intellij-monorepo-bot
parent 41f0fc45ee
commit 6951cf0f2d
@@ -1323,12 +1323,8 @@ public class PyClassImpl extends PyBaseElementImpl<PyClassStub> implements PyCla
public void subtreeChanged() {
super.subtreeChanged();
ControlFlowCache.clear(this);
if (myInstanceAttributes != null) {
myInstanceAttributes = null;
}
if (myFallbackInstanceAttributes != null) {
myFallbackInstanceAttributes = null;
}
myInstanceAttributes = null;
myFallbackInstanceAttributes = null;
myLocalPropertyCache = null;
}