Improved: Set checkstyle to use LF line endings

(OFBIZ-11428)

Setting checkstyle to use LF line endings means that a newline at the
end of a source file is correctly detected no matter whether it is
checked out with LF or CRLF line endings.
This commit is contained in:
Daniel Watford
2020-03-21 11:31:43 +01:00
committed by Jacques Le Roux
parent f5f2d459ad
commit 5cf41f2a67
+3 -1
View File
@@ -30,7 +30,9 @@ under the License.
<property name="fileExtensions" value="java, properties, xml"/>
<!-- General file conventions -->
<module name="NewlineAtEndOfFile"/>
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf" />
</module>
<module name="FileTabCharacter"/>
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>