Author: rwhitcomb Date: Fri Apr 27 19:22:50 2018 New Revision: 1830388 URL: http://svn.apache.org/viewvc?rev=1830388&view=rev Log: PIVOT-1032: Configure the "NewlineAtEndOfFile" to accept any combination of line endings, not just the "system" one. This helps with cross-platform compatibility.
Modified: pivot/trunk/pivot_checks.xml Modified: pivot/trunk/pivot_checks.xml URL: http://svn.apache.org/viewvc/pivot/trunk/pivot_checks.xml?rev=1830388&r1=1830387&r2=1830388&view=diff ============================================================================== --- pivot/trunk/pivot_checks.xml (original) +++ pivot/trunk/pivot_checks.xml Fri Apr 27 19:22:50 2018 @@ -47,7 +47,9 @@ <!-- Checks whether files end with a new line. --> <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> - <module name="NewlineAtEndOfFile"/> + <module name="NewlineAtEndOfFile"> + <property name="lineSeparator" value="lf_cr_crlf"/> + </module> <!-- Checks that property files contain the same keys. --> <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->