aboutsummaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
diff options
context:
space:
mode:
Diffstat (limited to 'poi-scratchpad')
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFProperty.java2
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/MAPIProperty.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFProperty.java b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFProperty.java
index e90c910470..151ac152ff 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFProperty.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFProperty.java
@@ -30,7 +30,7 @@ import java.util.Map;
* ones, so we can't just re-use the HSMF ones.
*/
public final class TNEFProperty {
- private static Map<Integer, List<TNEFProperty>> properties = new HashMap<>();
+ private static final Map<Integer, List<TNEFProperty>> properties = new HashMap<>();
// Types taken from http://msdn.microsoft.com/en-us/library/microsoft.exchange.data.contenttypes.tnef.tnefattributetype%28v=EXCHG.140%29.aspx
public static final int TYPE_TRIPLES = 0x0000;
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/MAPIProperty.java b/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/MAPIProperty.java
index b09e39cc7a..5afe53b6bf 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/MAPIProperty.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/MAPIProperty.java
@@ -46,7 +46,7 @@ import static org.apache.poi.hsmf.datatypes.Types.TIME;
*/
@SuppressWarnings("unused")
public class MAPIProperty {
- private static Map<Integer, MAPIProperty> attributes = new HashMap<>();
+ private static final Map<Integer, MAPIProperty> attributes = new HashMap<>();
public static final MAPIProperty AB_DEFAULT_DIR =
new MAPIProperty(0x3d06, BINARY, "AbDefaultDir", "PR_AB_DEFAULT_DIR");