This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch 1.X in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit d6ee0b2a7819a37b967cf97da56617c44858f08f Author: Gary Gregory <[email protected]> AuthorDate: Thu Jul 25 17:21:51 2024 -0400 Use diamond --- .../java/org/apache/commons/beanutils/IndexedPropertyTestCase.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java b/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java index dd2c1c01..3fe630ab 100644 --- a/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java +++ b/src/test/java/org/apache/commons/beanutils/IndexedPropertyTestCase.java @@ -71,17 +71,17 @@ public class IndexedPropertyTestCase { testArray= new String[] {"array-0", "array-1", "array-2"}; newArray = new String[] {"newArray-0", "newArray-1", "newArray-2"}; - testList = new ArrayList<String>(); + testList = new ArrayList<>(); testList.add("list-0"); testList.add("list-1"); testList.add("list-2"); - newList = new ArrayList<Object>(); + newList = new ArrayList<>(); newList.add("newList-0"); newList.add("newList-1"); newList.add("newList-2"); - arrayList = new ArrayList<Object>(); + arrayList = new ArrayList<>(); arrayList.add("arrayList-0"); arrayList.add("arrayList-1"); arrayList.add("arrayList-2");
