Skip to content

Commit

Permalink
"extract lambda to method" works newly for lambda which uses a method…
Browse files Browse the repository at this point in the history
… argument(s)
  • Loading branch information
Honza committed Oct 24, 2023
1 parent bba0450 commit f303ed3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public Void scan(Tree tree, Void p) {
@Override
public Void visitLambdaExpression(LambdaExpressionTree node, Void p) {
nesting++;
if (node.equals(firstInSelection)) {
if (node == firstInSelection) {
phase = PHASE_INSIDE_SELECTION;
}
isLambda = true;
Expand Down

0 comments on commit f303ed3

Please sign in to comment.