]> source.dussan.org Git - poi.git/commitdiff
use diamond operator
authorAxel Howind <axh@apache.org>
Wed, 28 Feb 2024 09:35:51 +0000 (09:35 +0000)
committerAxel Howind <axh@apache.org>
Wed, 28 Feb 2024 09:35:51 +0000 (09:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916036 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/Grouping.java

index 516477343e09c3ecf7dbec55895b847cb8675826..3c551d891378636b9b2afa1e172d19fdfcf927cb 100644 (file)
@@ -32,7 +32,7 @@ public enum Grouping {
         this.underlying = grouping;
     }
 
-    private static final HashMap<STGrouping.Enum, Grouping> reverse = new HashMap<STGrouping.Enum, Grouping>();
+    private static final HashMap<STGrouping.Enum, Grouping> reverse = new HashMap<>();
     static {
         for (Grouping value : values()) {
             reverse.put(value.underlying, value);