You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2020/05/01 21:17:36 UTC
[openmeetings] 01/02: OPENMEETINGS-2336 Add checkstyle to enforce
java class file ending with line break.
This is an automated email from the ASF dual-hosted git repository.
sebawagner pushed a commit to branch feature/OPENMEETINGS-2336-line-break-on-java-class-file-end-checkstyle
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
commit 6039f3a7606f46e3fd5fe34034cfae8d0c6b7ef5
Author: Sebastian Wagner <se...@apache.org>
AuthorDate: Sat May 2 09:15:03 2020 +1200
OPENMEETINGS-2336 Add checkstyle to enforce java class file ending with line break.
---
pom.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 05b134b..dd9a412 100644
--- a/pom.xml
+++ b/pom.xml
@@ -813,10 +813,11 @@
<checkstyleRules>
<module name = "Checker">
<property name="fileExtensions" value="java,js,css,xml"/>
-
+ <module name="NewlineAtEndOfFile">
+ <property name="fileExtensions" value="java"/>
+ </module>
<module name="TreeWalker">
<module name="UnusedImports"></module>
-
<module name="RegexpSinglelineJava">
<property name="format" value="^\t* "/>
<property name="message" value="Indent must use tab characters"/>