make loggers static final

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Axel Howind 2024-02-21 21:04:58 +00:00
parent 28fc73b046
commit cb10857970
2 changed files with 2 additions and 2 deletions

View 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

View 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;