mirror of https://github.com/apache/poi.git
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:
parent
263171f80e
commit
9e425e1c5b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue