use diamond operator

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916036 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Axel Howind 2024-02-28 09:35:51 +00:00
parent 263171f80e
commit 9e425e1c5b

View File

@ -32,7 +32,7 @@ public enum Grouping {
this.underlying = 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 { static {
for (Grouping value : values()) { for (Grouping value : values()) {
reverse.put(value.underlying, value); reverse.put(value.underlying, value);