The "// Generated by delombok at ...." line at the top of delombok-produced source files now uses the system's local line-ending just like the rest of the source file, instead of posix/unix style LF.

Reported by Anthony Whitfield, fixes issue #142.
This commit is contained in:
Reinier Zwitserloot committed 2010-08-13 04:19:39 +02:00
1 parent fd8e08cb78
commit 8d012f6734
1 file changed
+4 -1
@@ -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));
}