[delombok] [bugfix] lambdas with anything but exactly 1 arg would get an extra paren and thus break the output

This commit is contained in:
Reinier Zwitserloot committed 2015-02-10 22:59:55 +01:00
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;