Community
Participate
Working Groups
The java code generation tries to respect the existing line delimiter settings of a file (bug 164803). However, when using code formatting afterwards, no line delimiter is passed to the formatter. The formatter (DefaultCodeFormatter) thus uses the line delimiter specified by the system property line.separator. That way, the code is reformatted with a possibly different delimiter. I'll attach a patch.
Created attachment 168533 [details] Use line delimiter The line delimiter used for code generation is passed to the code formatter.
The contribution is committed to CVS for 2.6. Thanks so much for the fix!! :-)
The changes are in 2.6RC1.