mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
introduce parameter: set convert to functional to true (IDEA-215812)
GitOrigin-RevId: a5a143b2bbe78e17c5074444454c6f51ac068903
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ef962be9b2
commit
6c24e5d020
+1
-1
@@ -216,7 +216,7 @@ public class IntroduceParameterDialog extends RefactoringDialog {
|
||||
final PsiAnonymousClass anonymClass = myExpression instanceof PsiNewExpression ? ((PsiNewExpression)myExpression).getAnonymousClass()
|
||||
: null;
|
||||
myCbCollapseToLambda.setVisible(anonymClass != null && AnonymousCanBeLambdaInspection.isLambdaForm(anonymClass, false, Collections.emptySet()));
|
||||
myCbCollapseToLambda.setSelected(PropertiesComponent.getInstance(myProject).getBoolean(INTRODUCE_PARAMETER_LAMBDA));
|
||||
myCbCollapseToLambda.setSelected(PropertiesComponent.getInstance(myProject).getBoolean(INTRODUCE_PARAMETER_LAMBDA, true));
|
||||
gbConstraints.gridy++;
|
||||
panel.add(myCbCollapseToLambda, gbConstraints);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user