mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
Issue 629: have delombok respect the emptyLines derecotry inside enum bodies as well
This commit is contained in:
1 parent
560552ddb3
commit
2ab6cc809d
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ Lombok Changelog
|
||||
----------------
|
||||
|
||||
### v1.12.5 "Edgy Guinea Pig"
|
||||
* Edge placeholder
|
||||
* DETAIL: {Delombok} Inside enum bodies the delombok formatter didn't respect the emptyLines directive [Issue #529](https://code.google.com/p/projectlombok/issues/detail?id=629).
|
||||
|
||||
### v1.12.4 (January 15th, 2014)
|
||||
* BUGFIX: v1.12.2's delombok turns all operator+assignments into just assignment. Fixed. [Issue #598](https://code.google.com/p/projectlombok/issues/detail?id=598)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user