You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2017/06/01 17:14:25 UTC

[1/2] [text] Fixed checkstyle rule 'File does not end with a newline' on windows

Repository: commons-text
Updated Branches:
  refs/heads/master a4a765d0e -> ebb0cbe8c


Fixed checkstyle rule 'File does not end with a newline' on windows

With this rule change checkstyle will work fine on Windows and Linux both.

Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/0683a54e
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/0683a54e
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/0683a54e

Branch: refs/heads/master
Commit: 0683a54e9a0dfaeaf591da03839eb895d28f0533
Parents: f651b78
Author: Amey Jadiye <am...@gmail.com>
Authored: Mon May 22 12:45:15 2017 +0530
Committer: GitHub <no...@github.com>
Committed: Mon May 22 12:45:15 2017 +0530

----------------------------------------------------------------------
 checkstyle.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/0683a54e/checkstyle.xml
----------------------------------------------------------------------
diff --git a/checkstyle.xml b/checkstyle.xml
index e6cb6b2..86f3de6 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -63,7 +63,9 @@
 
     <!-- Checks whether files end with a new line.                        -->
     <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
-    <module name="NewlineAtEndOfFile"/>
+    <module name="NewlineAtEndOfFile">
+       <property name="lineSeparator" value="lf" />
+    </module>
 
     <!-- Checks that property files contain the same keys.         -->
     <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->


[2/2] [text] Merge commit Amey Jadiye checkstyle lineSeparator

Posted by ch...@apache.org.
Merge commit Amey Jadiye checkstyle lineSeparator


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/ebb0cbe8
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/ebb0cbe8
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/ebb0cbe8

Branch: refs/heads/master
Commit: ebb0cbe8cad2ad6d3e8ff203ce15c5efc1a53603
Parents: a4a765d 0683a54
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Jun 1 13:13:10 2017 -0400
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Jun 1 13:13:10 2017 -0400

----------------------------------------------------------------------
 checkstyle.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/ebb0cbe8/checkstyle.xml
----------------------------------------------------------------------