Author: fanningpj
Date: Fri Feb 16 15:25:24 2024
New Revision: 1915819

URL: http://svn.apache.org/viewvc?rev=1915819&view=rev
Log:
remove unused loggers - thanks to Ruby Hartono. This closes #588 and closes #589

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

Modified: 
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/binary/XSSFBRelation.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/binary/XSSFBRelation.java?rev=1915819&r1=1915818&r2=1915819&view=diff
==============================================================================
--- 
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/binary/XSSFBRelation.java 
(original)
+++ 
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/binary/XSSFBRelation.java 
Fri Feb 16 15:25:24 2024
@@ -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.XSS
  */
 @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",

Modified: 
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCreationHelper.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCreationHelper.java?rev=1915819&r1=1915818&r2=1915819&view=diff
==============================================================================
--- 
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCreationHelper.java
 (original)
+++ 
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFCreationHelper.java
 Fri Feb 16 15:25:24 2024
@@ -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.XSS
  *  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;

Modified: 
poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java?rev=1915819&r1=1915818&r2=1915819&view=diff
==============================================================================
--- 
poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java
 (original)
+++ 
poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java
 Fri Feb 16 15:25:24 2024
@@ -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
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org
For additional commands, e-mail: commits-h...@poi.apache.org

Reply via email to