diff --git a/src/java/org/apache/poi/ss/usermodel/FormulaError.java b/src/java/org/apache/poi/ss/usermodel/FormulaError.java index 6415fc0364..583ca06d9c 100644 --- a/src/java/org/apache/poi/ss/usermodel/FormulaError.java +++ b/src/java/org/apache/poi/ss/usermodel/FormulaError.java @@ -147,9 +147,9 @@ public enum FormulaError { return repr; } - private static Map smap = new HashMap(); - private static Map bmap = new HashMap(); - private static Map imap = new HashMap(); + private static final Map smap = new HashMap(); + private static final Map bmap = new HashMap(); + private static final Map imap = new HashMap(); static{ for (FormulaError error : values()) { bmap.put(error.getCode(), error);