diff options
author | PJ Fanning <fanningpj@apache.org> | 2024-10-15 16:33:15 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2024-10-15 16:33:15 +0000 |
commit | 822974aadc69be4482b710505fae4b220eecf29c (patch) | |
tree | 0af6e4f7059a57f38a19c563b67dbca4631be29d /poi-scratchpad | |
parent | c5986447d18d6bb3a06f5a31888a244355c963ac (diff) | |
download | poi-822974aadc69be4482b710505fae4b220eecf29c.tar.gz poi-822974aadc69be4482b710505fae4b220eecf29c.zip |
make static maps final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/main/java/org/apache/poi/hmef/attribute/TNEFProperty.java | 2 | ||||
-rw-r--r-- | poi-scratchpad/src/main/java/org/apache/poi/hsmf/datatypes/MAPIProperty.java | 2 |
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"); |