Pedro12909 / RexCord

A Discord Bot written in Java
MIT License
7 stars 4 forks source link

src\main\java\utils\XmlParser.java:0: error: File does not end with a newline. #45

Closed beatyt closed 7 years ago

beatyt commented 7 years ago

By default Checkstyle uses system line endings. Windows uses CRLF but all of these files were created with LF endings.

The fix is to change

    <module name="NewlineAtEndOfFile" />

to

    <module name="NewlineAtEndOfFile">
        <property name="lineSeparator" value="lf"/>
    </module>
dodie commented 7 years ago

Hi! I've submitted a PR for this, could you review it, please?