drop caches on stub->ast switch not needed anymore

This commit is contained in:
Alexey Kudravtsev
2016-06-22 15:45:53 +03:00
parent 797f78c86e
commit c60ddcd3b1
@@ -92,9 +92,6 @@ public class PsiFieldImpl extends JavaStubPsiElement<PsiFieldStub> implements Ps
@Override
@NotNull
public CompositeElement getNode() {
if (getStub() != null) {
dropCached(); // have to return tree-based initializer now
}
return (CompositeElement)super.getNode();
}