Configure Checkstyle line separator so it does not use system default

In its default configuration, Checkstyle would fail on Windows as it
would expect CRLF, the system default line separator.

Closes gh-4666
This commit is contained in:
Ruben Dijkstra 2015-12-03 09:38:11 +01:00 committed by Andy Wilkinson
parent 0088300eca
commit 02830989be
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
<property name="headerFile" value="${checkstyle.header.file}" />
<property name="fileExtensions" value="java" />
</module>
<module name="NewlineAtEndOfFile" />
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf"/>
</module>
<!-- TreeWalker Checks -->
<module name="TreeWalker">