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-logging.git
commit d0c4e2631774fc6bab8bae08ec77b41c99ac6e7a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Aug 14 09:02:00 2024 -0400 Fix generics warnings in tests --- .../apache/commons/logging/security/SecurityAllowedTestCase.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java b/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java index 247bd8d..cfd873f 100644 --- a/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java +++ b/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java @@ -43,9 +43,10 @@ import org.apache.commons.logging.PathableTestSuite; */ public class SecurityAllowedTestCase extends TestCase { - // Dummy special Hashtable, so we can tell JCL to use this instead of - // the standard one. - public static class CustomHashtable extends Hashtable { + /** + * Dummy special Hashtable, so we can tell JCL to use this instead of the standard one. + */ + public static class CustomHashtable<K, V> extends Hashtable<K, V> { /** * Generated serial version ID.