diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-01-17 17:31:22 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-01-17 17:31:22 +0000 |
commit | 3778a3e9e24470499ebf0310a50848bdee266488 (patch) | |
tree | b368867c2860cb3a3d173370575fd853c28c240f /src/java/org/apache/poi/hpsf/VariantSupport.java | |
parent | 8d0e84f2573db52a201e842fad51ed067d65cfb6 (diff) | |
download | poi-3778a3e9e24470499ebf0310a50848bdee266488.tar.gz poi-3778a3e9e24470499ebf0310a50848bdee266488.zip |
Sonar fixes
constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'
reorder "final static" -> "static final"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hpsf/VariantSupport.java')
-rw-r--r-- | src/java/org/apache/poi/hpsf/VariantSupport.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/hpsf/VariantSupport.java b/src/java/org/apache/poi/hpsf/VariantSupport.java index ed57f41967..4fd4a7e75d 100644 --- a/src/java/org/apache/poi/hpsf/VariantSupport.java +++ b/src/java/org/apache/poi/hpsf/VariantSupport.java @@ -58,7 +58,7 @@ public class VariantSupport extends Variant { Variant.VT_CF, Variant.VT_BOOL }; - private static final POILogger logger = POILogFactory.getLogger(VariantSupport.class); + private static final POILogger LOG = POILogFactory.getLogger(VariantSupport.class); //arbitrarily selected; may need to increase private static final int MAX_RECORD_LENGTH = 100_000; @@ -114,7 +114,7 @@ public class VariantSupport extends Variant { Long vt = Long.valueOf(ex.getVariantType()); if (!unsupportedMessage.contains(vt)) { - logger.log( POILogger.ERROR, ex.getMessage()); + LOG.log( POILogger.ERROR, ex.getMessage()); unsupportedMessage.add(vt); } } |