introduce field from local: name suggestions fixed (IDEA-61861)

This commit is contained in:
anna
2010-11-25 22:24:22 +03:00
parent 61816fc713
commit 7efe81bbed
@@ -99,7 +99,7 @@ public class IntroduceFieldHandler extends BaseExpressionToFieldHandler {
IntroduceFieldDialog dialog = new IntroduceFieldDialog(
project, parentClass, expr, localVariable,
currentMethodConstructor,
false, declareStatic, occurencesNumber,
localVariable != null, declareStatic, occurencesNumber,
allowInitInMethod, allowInitInMethodIfAll,
new TypeSelectorManagerImpl(project, type, containingMethod, expr, occurences)
);