aboutsummaryrefslogtreecommitdiff
path: root/src/delombok/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-02-10 22:59:55 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-02-10 22:59:55 +0100
commit207606d1b83d325509865c6c6283fb39d859c691 (patch)
tree5c1f235ebba6ccbe92b34be350ab6610c13b097b /src/delombok/lombok
parent08710ee9bfc022923775c215e69433ff355665f7 (diff)
downloadlombok-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/lombok')
-rw-r--r--src/delombok/lombok/delombok/PrettyCommentsPrinter.java1
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;