mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
Fixed issue #269: annotations on enum values weren't being printed by delombok.
(Due to yet another bug in javac's pretty printer...)
This commit is contained in:
1 parent
edffb00cfd
commit
e4bff6b45e
2 files changed
+2
No files matched your search
@@ -2,6 +2,7 @@ Lombok Changelog
|
||||
----------------
|
||||
### v0.10.1 (edge)
|
||||
* BUGFIX: `@Delegate` in eclipse could cause memory leaks in 0.10.0. [Issue #264](http://code.google.com/p/projectlombok/issues/detail?id=264)
|
||||
* BUGFIX: Annotations on enum values were being deleted by delombok. [Issue #269](http://code.google.com/p/projectlombok/issues/detail?id=269)
|
||||
* ENHANCEMENT: `@NotNull` is now also recognized as an annotation indicating that lombok should generate nullcheck guards in generated constructors and setters. [Issue #271](http://code.google.com/p/projectlombok/issues/detail?id=271)
|
||||
|
||||
### v0.10.0 "Burning Emu" (August 19th, 2011)
|
||||
|
||||
@@ -580,6 +580,7 @@ public class PrettyCommentsPrinter extends JCTree.Visitor {
|
||||
}
|
||||
|
||||
public void printEnumMember(JCVariableDecl tree) throws IOException {
|
||||
printAnnotations(tree.mods.annotations);
|
||||
print(tree.name);
|
||||
if (tree.init instanceof JCNewClass) {
|
||||
JCNewClass constructor = (JCNewClass) tree.init;
|
||||
|
||||
Reference in new issue
Block a user