ChainCallInplaceIntroducer: myOccurrences/myOccurrenceMarkers removed (may cause bugs)

This commit is contained in:
Tagir Valeev
2017-03-06 16:20:05 +07:00
parent 20b42a71b5
commit fe6f795bbc
@@ -70,6 +70,8 @@ public class ChainCallInplaceIntroducer extends JavaVariableInplaceIntroducer {
PsiParameter parameter = ArrayUtil.getFirstElement(lambda.getParameterList().getParameters());
myParameter = parameter;
myCall = PsiTreeUtil.getParentOfType(lambda, PsiMethodCallExpression.class);
myOccurrences = PsiExpression.EMPTY_ARRAY;
myOccurrenceMarkers = null;
myExprMarker = null;
myExpr = null;
setAdvertisementText(null);