This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new cea9336  Checkstyle: The files are saved in the repo with LF, and on 
Windows you should use git config core.autocrlf input.
cea9336 is described below

commit cea9336480564d1bc0c941d1065576788b68bf71
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jun 3 15:33:29 2020 -0400

    Checkstyle: The files are saved in the repo with LF, and on Windows you
    should use git config core.autocrlf input.
---
 src/conf/checkstyle.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml
index eaeb1e7..9be4b6d 100644
--- a/src/conf/checkstyle.xml
+++ b/src/conf/checkstyle.xml
@@ -26,7 +26,10 @@ limitations under the License.
 
   <!-- Checks whether files end with a new line. -->
   <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
-  <module name="NewlineAtEndOfFile" />
+  <module name="NewlineAtEndOfFile">
+    <!-- The files are saved in the repo with LF, and on Windows you should 
use git config core.autocrlf input -->
+    <property name="lineSeparator" value="lf" />
+  </module>
 
   <!-- Checks for Tab characters -->
   <!-- See 
http://checkstyle.sourceforge.net/config_whitespace.html#FileTabCharacter -->

Reply via email to