This is an automated email from the ASF dual-hosted git repository.
emkornfield pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 5be6978 ARROW-12006: [Java] Fix checkstyle config to work on Windows
5be6978 is described below
commit 5be69789eeac0f2c357cfcd0d329c518848adebc
Author: Bob Tinsman <[email protected]>
AuthorDate: Fri Mar 26 21:21:49 2021 -0700
ARROW-12006: [Java] Fix checkstyle config to work on Windows
On Windows checkstyle will fail if you preserve LF endings but this change
looks for LF explicitly.
Closes #9819 from bobtins/java-win-ez
Authored-by: Bob Tinsman <[email protected]>
Signed-off-by: Micah Kornfield <[email protected]>
---
java/dev/checkstyle/checkstyle.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/java/dev/checkstyle/checkstyle.xml
b/java/dev/checkstyle/checkstyle.xml
index 40c0455..c27f382 100644
--- a/java/dev/checkstyle/checkstyle.xml
+++ b/java/dev/checkstyle/checkstyle.xml
@@ -48,7 +48,9 @@
<property name="file" value="${checkstyle.suppressions.file}"/>
</module>
- <module name="NewlineAtEndOfFile"/>
+ <module name="NewlineAtEndOfFile">
+ <property name="lineSeparator" value="lf" />
+ </module>
<!-- Google style modules -->