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-dbutils.git
commit 9a9eaa86ea71df883fe04255c454f76ab878da86 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Jul 31 09:04:56 2023 -0400 Use diamond notation --- .../java/org/apache/commons/dbutils/handlers/BeanHandlerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/dbutils/handlers/BeanHandlerTest.java b/src/test/java/org/apache/commons/dbutils/handlers/BeanHandlerTest.java index d01d7bf..1ebe3ab 100644 --- a/src/test/java/org/apache/commons/dbutils/handlers/BeanHandlerTest.java +++ b/src/test/java/org/apache/commons/dbutils/handlers/BeanHandlerTest.java @@ -58,7 +58,7 @@ public class BeanHandlerTest extends BaseTestCase { } public void testHandleToInterface() throws SQLException { - final ResultSetHandler<SubTestBeanInterface> h = new BeanHandler<SubTestBeanInterface>(SubTestBean.class); + final ResultSetHandler<SubTestBeanInterface> h = new BeanHandler<>(SubTestBean.class); final SubTestBeanInterface results = h.handle(this.rs); assertNotNull(results); @@ -69,7 +69,7 @@ public class BeanHandlerTest extends BaseTestCase { } public void testHandleToSuperClass() throws SQLException { - final ResultSetHandler<TestBean> h = new BeanHandler<TestBean>(SubTestBean.class); + final ResultSetHandler<TestBean> h = new BeanHandler<>(SubTestBean.class); final TestBean results = h.handle(this.rs); assertNotNull(results);