From 2ab6cc809d6aec8d253962547cab7e32598b84a7 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Sun, 19 Jan 2014 21:15:16 +0100 Subject: Issue 629: have delombok respect the emptyLines derecotry inside enum bodies as well --- src/delombok/lombok/delombok/PrettyCommentsPrinter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/delombok/lombok') diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java index cfe8b6c4..9309e05d 100644 --- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java +++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java @@ -591,7 +591,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor { for (List l = stats; l.nonEmpty(); l = l.tail) { x++; if (!isEnumerator(l.head)) { - align(); + if (!suppressAlignmentForEmptyLines(l.head)) align(); printStat(l.head); println(); } -- cgit