Skip to content

Commit

Permalink
use diamond operator
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916036 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Axel Howind committed Feb 28, 2024
1 parent 263171f commit 9e425e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9e425e1

Please sign in to comment.