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 7478d56858e60b0c342e5c30ea89e02b9522e992 Author: Gary D. Gregory <[email protected]> AuthorDate: Tue Feb 11 08:06:33 2025 -0500 Add Checkstyle UnusedImports --- src/conf/checkstyle.xml | 1 + src/test/java/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml index a9c77253..c031959b 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -87,6 +87,7 @@ <module name="SuperFinalize" /> <module name="TypecastParenPad" /> <module name="UnnecessaryParentheses" /> + <module name="UnusedImports" /> <module name="VisibilityModifier"> <property name="packageAllowed" value="true" /> <property name="protectedAllowed" value="true" /> diff --git a/src/test/java/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java b/src/test/java/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java index 42c176e4..b64c0e0f 100644 --- a/src/test/java/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java +++ b/src/test/java/org/apache/commons/pool2/impl/TestSoftRefOutOfMemory.java @@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; -import java.util.Arrays; import java.util.LinkedList; import java.util.List;
