diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-02-10 22:59:55 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-02-10 22:59:55 +0100 |
commit | 207606d1b83d325509865c6c6283fb39d859c691 (patch) | |
tree | 5c1f235ebba6ccbe92b34be350ab6610c13b097b /src/delombok | |
parent | 08710ee9bfc022923775c215e69433ff355665f7 (diff) | |
download | lombok-207606d1b83d325509865c6c6283fb39d859c691.tar.gz lombok-207606d1b83d325509865c6c6283fb39d859c691.tar.bz2 lombok-207606d1b83d325509865c6c6283fb39d859c691.zip |
[delombok] [bugfix] lambdas with anything but exactly 1 arg would get an extra paren and thus break the output
Diffstat (limited to 'src/delombok')
-rw-r--r-- | src/delombok/lombok/delombok/PrettyCommentsPrinter.java | 1 |
1 files changed, 0 insertions, 1 deletions
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<JCVariableDecl> params = (List<JCVariableDecl>) readTreeList(tree, "params"); boolean explicit = true; |