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-imaging.git

commit 1d454665352fe076b3f2bba9e98aa48ccb2753ef
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jul 10 09:23:50 2023 -0400

    Use the diamond operator
---
 src/test/java/org/apache/commons/imaging/TestImageInfo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/imaging/TestImageInfo.java 
b/src/test/java/org/apache/commons/imaging/TestImageInfo.java
index a9bdb750..3c20d256 100644
--- a/src/test/java/org/apache/commons/imaging/TestImageInfo.java
+++ b/src/test/java/org/apache/commons/imaging/TestImageInfo.java
@@ -89,7 +89,7 @@ public class TestImageInfo {
 
     @Test
     public void testToStringEmptyComments() {
-        final ImageInfo imageInfo = new ImageInfo(null, 0, new 
ArrayList<String>(), ImageFormats.DCX, null, 0, null, 0, 0, 0.0f, 0, 0.0f, 0, 
false,
+        final ImageInfo imageInfo = new ImageInfo(null, 0, new ArrayList<>(), 
ImageFormats.DCX, null, 0, null, 0, 0, 0.0f, 0, 0.0f, 0, false,
                 false, false, ColorType.BW, null);
         final String expected = "Format Details: null\n" +
                 "Bits Per Pixel: 0\n" +

Reply via email to