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
pull/4666/merge
Ruben Dijkstra 9 years ago committed by Andy Wilkinson
parent 0088300eca
commit 02830989be

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

Loading…
Cancel
Save