aboutsummaryrefslogtreecommitdiff
path: root/src/delombok/lombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-01-19 21:15:16 +0100
committerRoel Spilker <r.spilker@gmail.com>2014-01-19 21:15:16 +0100
commit2ab6cc809d6aec8d253962547cab7e32598b84a7 (patch)
treea4d0bc642ae0c22695ce7508f74c565b2b16ecae /src/delombok/lombok
parent560552ddb3c7be4b92c7479098c40886aa3bb8aa (diff)
downloadlombok-2ab6cc809d6aec8d253962547cab7e32598b84a7.tar.gz
lombok-2ab6cc809d6aec8d253962547cab7e32598b84a7.tar.bz2
lombok-2ab6cc809d6aec8d253962547cab7e32598b84a7.zip
Issue 629: have delombok respect the emptyLines derecotry inside enum bodies as well
Diffstat (limited to 'src/delombok/lombok')
-rw-r--r--src/delombok/lombok/delombok/PrettyCommentsPrinter.java2
1 files changed, 1 insertions, 1 deletions
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<JCTree> l = stats; l.nonEmpty(); l = l.tail) {
x++;
if (!isEnumerator(l.head)) {
- align();
+ if (!suppressAlignmentForEmptyLines(l.head)) align();
printStat(l.head);
println();
}