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:35 UTC

[openmeetings] branch feature/OPENMEETINGS-2336-line-break-on-java-class-file-end-checkstyle created (now bf348b1)

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

sebawagner pushed a change to branch feature/OPENMEETINGS-2336-line-break-on-java-class-file-end-checkstyle
in repository https://gitbox.apache.org/repos/asf/openmeetings.git.


      at bf348b1  OPENMEETINGS-2336 Fix some checkstyle errors on file endings.

This branch includes the following new commits:

     new 6039f3a  OPENMEETINGS-2336 Add checkstyle to enforce java class file ending with line break.
     new bf348b1  OPENMEETINGS-2336 Fix some checkstyle errors on file endings.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[openmeetings] 01/02: OPENMEETINGS-2336 Add checkstyle to enforce java class file ending with line break.

Posted by se...@apache.org.
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"/>


[openmeetings] 02/02: OPENMEETINGS-2336 Fix some checkstyle errors on file endings.

Posted by se...@apache.org.
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 bf348b19766feb50c965e09029ec63b11f377e3e
Author: Sebastian Wagner <se...@apache.org>
AuthorDate: Sat May 2 09:17:01 2020 +1200

    OPENMEETINGS-2336 Fix some checkstyle errors on file endings.
---
 .../java/org/apache/openmeetings/screenshare/RTMPClientPublish.java     | 2 +-
 .../java/org/apache/openmeetings/screenshare/gui/MouseListenerable.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/RTMPClientPublish.java b/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/RTMPClientPublish.java
index 2a914e3..4a29b78 100644
--- a/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/RTMPClientPublish.java
+++ b/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/RTMPClientPublish.java
@@ -90,4 +90,4 @@ class RTMPClientPublish extends RTMPClient implements IPendingServiceCallback, I
 	public void onStreamEvent(Notify notify) {
 		//no-op
 	}
-}
\ No newline at end of file
+}
diff --git a/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/gui/MouseListenerable.java b/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/gui/MouseListenerable.java
index 33c8ae5..5f9c742 100644
--- a/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/gui/MouseListenerable.java
+++ b/openmeetings-screenshare/src/main/java/org/apache/openmeetings/screenshare/gui/MouseListenerable.java
@@ -29,4 +29,4 @@ public class MouseListenerable extends JLabel {
 		addMouseListener(listner);
 		addMouseMotionListener(listner);
 	}
-}
\ No newline at end of file
+}