]> source.dussan.org Git - poi.git/commitdiff
remove unused loggers - thanks to Ruby Hartono. This closes #588 and closes #589
authorPJ Fanning <fanningpj@apache.org>
Fri, 16 Feb 2024 15:25:24 +0000 (15:25 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 16 Feb 2024 15:25:24 +0000 (15:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915819 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/xssf/binary/XSSFBRelation.java
poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCreationHelper.java
poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java

index 94599bc5aa50fa58a290526f957fb8f1adc3c35d..cb6a8793082f56ffe64a835d0ac841a3a5307ada 100644 (file)
@@ -17,8 +17,6 @@
 
 package org.apache.poi.xssf.binary;
 
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
 import org.apache.poi.ooxml.POIXMLRelation;
 import org.apache.poi.openxml4j.opc.PackageRelationshipTypes;
 import org.apache.poi.util.Internal;
@@ -34,7 +32,6 @@ import org.apache.poi.xssf.usermodel.XSSFRelation;
  */
 @Internal
 public class XSSFBRelation extends POIXMLRelation {
-    private static final Logger LOGGER = LogManager.getLogger(XSSFBRelation.class);
 
     static final XSSFBRelation SHARED_STRINGS_BINARY = new XSSFBRelation(
             "application/vnd.ms-excel.sharedStrings",
index 79857116012eaa47cb1e33b3ef6f31ef997f2f9d..b98a25964b6f87454d4a9700538324cc49623933 100644 (file)
@@ -17,8 +17,6 @@
 
 package org.apache.poi.xssf.streaming;
 
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
 import org.apache.poi.common.usermodel.HyperlinkType;
 import org.apache.poi.ss.usermodel.ClientAnchor;
 import org.apache.poi.ss.usermodel.CreationHelper;
@@ -37,7 +35,6 @@ import org.apache.poi.xssf.usermodel.XSSFRichTextString;
  *  regular XSSF Workbook
  */
 public class SXSSFCreationHelper implements CreationHelper {
-    private static final Logger LOG = LogManager.getLogger(SXSSFCreationHelper.class);
 
     private final SXSSFWorkbook wb;
     private final XSSFCreationHelper helper;
index 61797ad2f8c74cd76f9628b23840e960000c1c22..4d3c8e62dcb66e397ce39f8467cae7756f35c3bf 100644 (file)
@@ -25,17 +25,12 @@ import java.util.Objects;
 import java.util.function.Predicate;
 import java.util.stream.Stream;
 
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
-
 /**
  * Class POIFSDocumentPath
  */
 
 public class POIFSDocumentPath {
 
-    private static final Logger LOGGER = LogManager.getLogger(POIFSDocumentPath.class);
-
     private final String[] components;
     private int hashcode; //lazy-compute hashCode