aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorAxel Howind <axh@apache.org>2024-02-21 21:04:58 +0000
committerAxel Howind <axh@apache.org>2024-02-21 21:04:58 +0000
commitcb10857970c5013b133ec1cf3b625126e387bdfb (patch)
treefe282d31669e34199e3942baf5a63e90ad96849a /poi
parent28fc73b046879abd28f87f2d57eb7ab86df21a12 (diff)
downloadpoi-cb10857970c5013b133ec1cf3b625126e387bdfb.tar.gz
poi-cb10857970c5013b133ec1cf3b625126e387bdfb.zip
make loggers static final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915929 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java2
-rw-r--r--poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/poi/src/main/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java b/poi/src/main/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java
index 175884c5f8..87b18544f0 100644
--- a/poi/src/main/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java
+++ b/poi/src/main/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java
@@ -32,7 +32,7 @@ import java.io.IOException;
*/
@Beta
public class TempFilePOIFSFileSystem extends POIFSFileSystem {
- private static Logger LOG = LogManager.getLogger(TempFilePOIFSFileSystem.class);
+ private static final Logger LOG = LogManager.getLogger(TempFilePOIFSFileSystem.class);
File tempFile;
@Override
diff --git a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
index 2d22023426..6d503c7260 100644
--- a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
+++ b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java
@@ -78,7 +78,7 @@ public final class WorkbookEvaluator {
private boolean dbgEvaluationOutputForNextEval;
// special logger for formula evaluation output (because of possibly very large output)
- private final Logger EVAL_LOG = LogManager.getLogger("POI.FormulaEval");
+ private static final Logger EVAL_LOG = LogManager.getLogger("POI.FormulaEval");
// current indent level for evaluation; negative value for no output
private int dbgEvaluationOutputIndent = -1;