diff options
author | PJ Fanning <fanningpj@apache.org> | 2024-02-19 10:10:57 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2024-02-19 10:10:57 +0000 |
commit | 23ed93817f333ca022dc3c09e64ebbd705428d5b (patch) | |
tree | 359486f89583f81d1d4ee40fa409b2fbed50f70a /poi/src | |
parent | 63899a88101c4705cc9bb54d8d790eccdd9ee3dd (diff) | |
download | poi-23ed93817f333ca022dc3c09e64ebbd705428d5b.tar.gz poi-23ed93817f333ca022dc3c09e64ebbd705428d5b.zip |
remove unused loggers. Thanks to Ruby Hartono. This closes #594 and closes #595
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915870 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src')
3 files changed, 1 insertions, 7 deletions
diff --git a/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java index 0f1377aa03..14b7e56ce9 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/AbstractEscherHolderRecord.java @@ -79,7 +79,7 @@ public abstract class AbstractEscherHolderRecord extends Record { } private void convertToEscherRecords( int offset, int size, byte[] data ) { - escherRecords.clear(); + escherRecords.clear(); EscherRecordFactory recordFactory = new DefaultEscherRecordFactory(); int pos = offset; while ( pos < offset + size ) diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFColumnShifter.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFColumnShifter.java index 8819665cd5..1f2ce9bb6b 100644 --- a/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFColumnShifter.java +++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFColumnShifter.java @@ -17,8 +17,6 @@ package org.apache.poi.hssf.usermodel.helpers; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.ss.formula.eval.NotImplementedException; @@ -35,7 +33,6 @@ import org.apache.poi.util.NotImplemented; // {@link org.apache.poi.hssf.usermodel.helpers.HSSFColumnShifter} @Beta public final class HSSFColumnShifter extends ColumnShifter { - private static final Logger LOG = LogManager.getLogger(HSSFColumnShifter.class); public HSSFColumnShifter(HSSFSheet sh) { super(sh); diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFRowShifter.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFRowShifter.java index 77602136bd..19e9d2abc8 100644 --- a/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFRowShifter.java +++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/helpers/HSSFRowShifter.java @@ -17,8 +17,6 @@ package org.apache.poi.hssf.usermodel.helpers; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.ss.formula.FormulaShifter; @@ -33,7 +31,6 @@ import org.apache.poi.util.NotImplemented; // non-Javadoc: When possible, code should be implemented in the RowShifter abstract class to avoid duplication with // {@link org.apache.poi.hssf.usermodel.helpers.HSSFRowShifter} public final class HSSFRowShifter extends RowShifter { - private static final Logger LOG = LogManager.getLogger(HSSFRowShifter.class); public HSSFRowShifter(HSSFSheet sh) { super(sh); |