diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-01-19 21:15:16 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-01-19 21:15:16 +0100 |
commit | 2ab6cc809d6aec8d253962547cab7e32598b84a7 (patch) | |
tree | a4d0bc642ae0c22695ce7508f74c565b2b16ecae /src/delombok/lombok | |
parent | 560552ddb3c7be4b92c7479098c40886aa3bb8aa (diff) | |
download | lombok-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.java | 2 |
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(); } |