Skip to content

Commit

Permalink
Add two missing visit calls
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Nov 20, 2024
1 parent 40ca0f2 commit bbd8ce9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,13 @@ public J.ParameterizedType visitParameterizedType(J.ParameterizedType parameteri

@Override
public <J2 extends J> J.Parentheses<J2> visitParentheses(J.Parentheses<J2> parentheses, P p) {
visitAndValidate(parentheses.getTree(), J.class, p);
return parentheses;
}

@Override
public <J2 extends J> J.ControlParentheses<J2> visitControlParentheses(J.ControlParentheses<J2> controlParentheses, P p) {
visitAndValidate(controlParentheses.getTree(), J.class, p);
return controlParentheses;
}

Expand Down

0 comments on commit bbd8ce9

Please sign in to comment.