IDEA-185183 Performance degradation in tests on 181 branch

forgotten case
This commit is contained in:
Dmitry Batrak
2018-01-19 19:36:39 +03:00
parent 4a1d5a5c44
commit a7a9a7e716
@@ -181,6 +181,7 @@ public class PsiNamesElementSignatureProvider extends AbstractElementSignaturePr
return null;
}
int index = getChildIndex(named, element.getParent(), name, PsiNamedElement.class);
if (index < 0) return null;
StringBuilder bufferToUse = buffer;
if (bufferToUse == null) {
bufferToUse = new StringBuilder();