This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
The following commit(s) were added to refs/heads/master by this push: new 150798ea Checkstyle: Line has trailing spaces 150798ea is described below commit 150798eae05082fae04c6c71677824762d9936e2 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Mar 5 10:56:20 2024 -0500 Checkstyle: Line has trailing spaces --- src/conf/checkstyle.xml | 8 +++++++- src/main/java/org/apache/commons/dbcp2/PoolingConnection.java | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml index 99de2ffe..4fe6af87 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -133,11 +133,17 @@ <property name="separated" value="true"/> </module> </module> - <!-- @author tags are deprecated --> <module name="RegexpSingleline"> + <!-- Deprecated @author tag --> <property name="format" value="^\s+\*\s+@author\s" /> <property name="message" value="Deprecated @author tag" /> <property name="fileExtensions" value="java" /> <property name="severity" value="warning" /> </module> + <module name="RegexpSingleline"> + <!-- Line has trailing spaces --> + <property name="format" value="\s+$" /> + <property name="message" value="Line has trailing spaces." /> + <property name="fileExtensions" value="java" /> + </module> </module> diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java index be2d4dc4..b4ce3eb6 100644 --- a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java +++ b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java @@ -49,7 +49,7 @@ public class PoolingConnection extends DelegatingConnection<Connection> * Statement types. * * See subclasses of {@link Statement}. - * + * * @since 2.0 protected enum. * @since 2.4.0 public enum. * @see Statement