From 207606d1b83d325509865c6c6283fb39d859c691 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 10 Feb 2015 22:59:55 +0100 Subject: [delombok] [bugfix] lambdas with anything but exactly 1 arg would get an extra paren and thus break the output --- src/delombok/lombok/delombok/PrettyCommentsPrinter.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/delombok') diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java index e9115dd0..f57b74a2 100644 --- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java +++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java @@ -1625,7 +1625,6 @@ public class PrettyCommentsPrinter extends JCTree.Visitor { private void visitLambda0(JCTree tree) { try { - print("("); @SuppressWarnings("unchecked") List params = (List) readTreeList(tree, "params"); boolean explicit = true; -- cgit