You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/11/04 17:03:11 UTC

(commons-compress) branch master updated: Fix compiler warning

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


The following commit(s) were added to refs/heads/master by this push:
     new 17a4b9ba Fix compiler warning
17a4b9ba is described below

commit 17a4b9baa208d322ad8fda2afc675c5e1edf7b6b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 4 13:03:06 2023 -0400

    Fix compiler warning
---
 .../commons/compress/harmony/unpack200/tests/CodeAttributeTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/CodeAttributeTest.java b/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/CodeAttributeTest.java
index a350e9ed..8f847f3a 100644
--- a/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/CodeAttributeTest.java
+++ b/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/CodeAttributeTest.java
@@ -152,7 +152,7 @@ public class CodeAttributeTest {
                 mixedByteArray, // codePacked
                 segment, // segment
                 operandManager, // operandManager
-                new ArrayList());
+                new ArrayList<>());
         assertEquals(29, attribute.getLength());
 
         attribute.attributes.add(new LocalVariableTableAttribute(0, null, null,