mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 20:15:59 +00:00
[delombok] [bugfix] lambdas with anything but exactly 1 arg would get an extra paren and thus break the output
This commit is contained in:
1 parent
08710ee9bf
commit
207606d1b8
1 file changed
-1
@@ -1625,7 +1625,6 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
|
||||
|
||||
private void visitLambda0(JCTree tree) {
|
||||
try {
|
||||
print("(");
|
||||
@SuppressWarnings("unchecked")
|
||||
List<JCVariableDecl> params = (List<JCVariableDecl>) readTreeList(tree, "params");
|
||||
boolean explicit = true;
|
||||
|
||||
Reference in new issue
Block a user