From: Axel Howind Date: Wed, 28 Feb 2024 09:35:51 +0000 (+0000) Subject: use diamond operator X-Git-Tag: REL_5_3_0~83 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9e425e1c5b52011abc423cfcbac2857335cdf813;p=poi.git use diamond operator git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916036 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/Grouping.java b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/Grouping.java index 516477343e..3c551d8913 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/Grouping.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/Grouping.java @@ -32,7 +32,7 @@ public enum Grouping { this.underlying = grouping; } - private static final HashMap reverse = new HashMap(); + private static final HashMap reverse = new HashMap<>(); static { for (Grouping value : values()) { reverse.put(value.underlying, value);