make private maps final

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-07-17 07:29:40 +00:00
parent f296b55b36
commit efbfef84a6

View File

@ -147,9 +147,9 @@ public enum FormulaError {
return repr;
}
private static Map<String, FormulaError> smap = new HashMap<String, FormulaError>();
private static Map<Byte, FormulaError> bmap = new HashMap<Byte, FormulaError>();
private static Map<Integer, FormulaError> imap = new HashMap<Integer, FormulaError>();
private static final Map<String, FormulaError> smap = new HashMap<String, FormulaError>();
private static final Map<Byte, FormulaError> bmap = new HashMap<Byte, FormulaError>();
private static final Map<Integer, FormulaError> imap = new HashMap<Integer, FormulaError>();
static{
for (FormulaError error : values()) {
bmap.put(error.getCode(), error);