This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch POOL_2_X in repository https://gitbox.apache.org/repos/asf/commons-pool.git
commit efed673815dbd0b24c8be6e7112cd4b0419213fd Author: Gary D. Gregory <[email protected]> AuthorDate: Mon Feb 10 16:33:48 2025 -0500 Add Checkstyle NewlineAtEndOfFile --- src/conf/checkstyle.xml | 4 ++++ src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml index d6de8e57..3a53182f 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -31,6 +31,10 @@ <module name="LineLength"> <property name="max" value="160" /> </module> + <module name="NewlineAtEndOfFile"> + <!-- Files are saved in the repository with LF line endings; on Windows, use git config core.autocrlf input --> + <property name="lineSeparator" value="lf" /> + </module> <module name="RegexpSingleline"> <property name="format" value="^\s+\*\s+@author\s" /> <property name="message" value="Deprecated @author tag" /> diff --git a/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java b/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java index 9de063d6..d5eecd45 100644 --- a/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java +++ b/src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java @@ -338,4 +338,4 @@ public class DefaultPooledObject<T> implements PooledObject<T> { usedBy.fillInStackTrace(); } -} \ No newline at end of file +}
