]> source.dussan.org Git - poi.git/commitdiff
make loggers static final
authorAxel Howind <axh@apache.org>
Wed, 21 Feb 2024 21:04:58 +0000 (21:04 +0000)
committerAxel Howind <axh@apache.org>
Wed, 21 Feb 2024 21:04:58 +0000 (21:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915929 13f79535-47bb-0310-9956-ffa450edef68

poi/src/main/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java
poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java

index 175884c5f8c7087f7b28b53eff4057833e9407e5..87b18544f086c2835a25413f7859e94d653e019e 100644 (file)
@@ -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
index 2d2202342674f1b0d6ac9c1620ac368fc7c7be3a..6d503c7260fc3ec68a52bf5f27f57bc77b689573 100644 (file)
@@ -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;