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 2022/12/08 16:15:55 UTC

[commons-compress] 24/38: Use simple array initialization

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

commit f07a2fea9a6161b25e3f77e6ea3f5b347b8366d7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Dec 8 11:08:52 2022 -0500

    Use simple array initialization
---
 .../java/org/apache/commons/compress/harmony/unpack200/IcTuple.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/IcTuple.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/IcTuple.java
index 0ee5fc20..b8610e65 100644
--- a/src/main/java/org/apache/commons/compress/harmony/unpack200/IcTuple.java
+++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/IcTuple.java
@@ -29,7 +29,7 @@ import java.util.List;
  */
 public class IcTuple {
 
-    private static final String[] EMPTY_STRING_ARRAY = new String[] {};
+    private static final String[] EMPTY_STRING_ARRAY = {};
     private final int cIndex;
     private final int c2Index;
     private final int nIndex;