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 2021/12/26 16:55:11 UTC

[commons-compress] branch master updated: Use diamond notation.

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 7215001  Use diamond notation.
7215001 is described below

commit 7215001ea83024b8211b2be3d4619992bbd476d8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 26 11:55:07 2021 -0500

    Use diamond notation.
---
 src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
index e2fe69a..b649c9f 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
@@ -44,7 +44,7 @@ import org.tukaani.xz.SPARCOptions;
 import org.tukaani.xz.X86Options;
 
 class Coders {
-    private static final Map<SevenZMethod, CoderBase> CODER_MAP = new HashMap<SevenZMethod, CoderBase>() {
+    private static final Map<SevenZMethod, CoderBase> CODER_MAP = new HashMap<>() {
 
         private static final long serialVersionUID = 1664829131806520867L;
     {