diff options
Diffstat (limited to 'src/delombok/lombok')
-rw-r--r-- | src/delombok/lombok/delombok/CommentPreservingParser.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/delombok/lombok/delombok/CommentPreservingParser.java b/src/delombok/lombok/delombok/CommentPreservingParser.java index 1cd2e5b1..87c02dcd 100644 --- a/src/delombok/lombok/delombok/CommentPreservingParser.java +++ b/src/delombok/lombok/delombok/CommentPreservingParser.java @@ -156,7 +156,10 @@ public class CommentPreservingParser { } } - out.write("// Generated by delombok at " + new Date() + "\n"); + out.write("// Generated by delombok at "); + out.write(String.valueOf(new Date())); + out.write(System.getProperty("line.separator")); + compilationUnit.accept(new PrettyCommentsPrinter(out, compilationUnit, comments)); } |