Make sure files end with a new line
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/fa91c1b2 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/fa91c1b2 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/fa91c1b2 Branch: refs/heads/release Commit: fa91c1b28647bd4217b0c325249aff9638fbeb6a Parents: f21c32a Author: Benedikt Ritter <brit...@apache.org> Authored: Tue Jun 6 15:05:02 2017 +0200 Committer: Benedikt Ritter <brit...@apache.org> Committed: Tue Jun 6 15:05:02 2017 +0200 ---------------------------------------------------------------------- checkstyle.xml | 3 +++ src/main/java/org/apache/commons/lang3/arch/package-info.java | 2 +- .../commons/lang3/concurrent/CircuitBreakingExceptionTest.java | 2 +- .../commons/lang3/concurrent/EventCountCircuitBreakerTest.java | 2 +- .../apache/commons/lang3/exception/CloneFailedExceptionTest.java | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/fa91c1b2/checkstyle.xml ---------------------------------------------------------------------- diff --git a/checkstyle.xml b/checkstyle.xml index 3963bfc..7070d0b 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -24,6 +24,9 @@ limitations under the License. <module name="Checker"> <property name="localeLanguage" value="en"/> <module name="JavadocPackage"/> + <module name="NewlineAtEndOfFile"> + <property name="lineSeparator" value="lf" /> + </module> <module name="FileTabCharacter"> <property name="fileExtensions" value="java,xml"/> </module> http://git-wip-us.apache.org/repos/asf/commons-lang/blob/fa91c1b2/src/main/java/org/apache/commons/lang3/arch/package-info.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/arch/package-info.java b/src/main/java/org/apache/commons/lang3/arch/package-info.java index 0a60a81..f256190 100644 --- a/src/main/java/org/apache/commons/lang3/arch/package-info.java +++ b/src/main/java/org/apache/commons/lang3/arch/package-info.java @@ -18,4 +18,4 @@ * Provides classes to work with the values of the os.arch system property. * @since 3.6 */ -package org.apache.commons.lang3.arch; \ No newline at end of file +package org.apache.commons.lang3.arch; http://git-wip-us.apache.org/repos/asf/commons-lang/blob/fa91c1b2/src/test/java/org/apache/commons/lang3/concurrent/CircuitBreakingExceptionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/lang3/concurrent/CircuitBreakingExceptionTest.java b/src/test/java/org/apache/commons/lang3/concurrent/CircuitBreakingExceptionTest.java index cdcd679..a794018 100644 --- a/src/test/java/org/apache/commons/lang3/concurrent/CircuitBreakingExceptionTest.java +++ b/src/test/java/org/apache/commons/lang3/concurrent/CircuitBreakingExceptionTest.java @@ -80,4 +80,4 @@ public class CircuitBreakingExceptionTest extends AbstractExceptionTest { assertNotNull(cause); assertEquals(WRONG_CAUSE_MESSAGE, CAUSE_MESSAGE, cause.getMessage()); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/commons-lang/blob/fa91c1b2/src/test/java/org/apache/commons/lang3/concurrent/EventCountCircuitBreakerTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/lang3/concurrent/EventCountCircuitBreakerTest.java b/src/test/java/org/apache/commons/lang3/concurrent/EventCountCircuitBreakerTest.java index 8e0ee2a..ab80b13 100644 --- a/src/test/java/org/apache/commons/lang3/concurrent/EventCountCircuitBreakerTest.java +++ b/src/test/java/org/apache/commons/lang3/concurrent/EventCountCircuitBreakerTest.java @@ -399,4 +399,4 @@ public class EventCountCircuitBreakerTest { changedValues.toArray(new Boolean[changedValues.size()])); } } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/commons-lang/blob/fa91c1b2/src/test/java/org/apache/commons/lang3/exception/CloneFailedExceptionTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/lang3/exception/CloneFailedExceptionTest.java b/src/test/java/org/apache/commons/lang3/exception/CloneFailedExceptionTest.java index 5273575..5406be5 100644 --- a/src/test/java/org/apache/commons/lang3/exception/CloneFailedExceptionTest.java +++ b/src/test/java/org/apache/commons/lang3/exception/CloneFailedExceptionTest.java @@ -73,4 +73,4 @@ public class CloneFailedExceptionTest extends AbstractExceptionTest { assertNotNull(cause); assertEquals(WRONG_CAUSE_MESSAGE, CAUSE_MESSAGE, cause.getMessage()); } -} \ No newline at end of file +}