diff options
author | PJ Fanning <fanningpj@apache.org> | 2024-02-16 15:12:54 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2024-02-16 15:12:54 +0000 |
commit | dc025d93657ff09ad8e74231806ece8ce3c82ae4 (patch) | |
tree | 06d8e81b35934e98d5cdcad550c8e0c88ff80c40 /poi | |
parent | 99ec2c6c0f130f564a4bcc7b339b2e3ea6f4dd89 (diff) | |
download | poi-dc025d93657ff09ad8e74231806ece8ce3c82ae4.tar.gz poi-dc025d93657ff09ad8e74231806ece8ce3c82ae4.zip |
[github-590] simplify some logging. This closes #590
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915818 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r-- | poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java b/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java index 4bba3cea61..723025969f 100644 --- a/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java +++ b/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java @@ -23,7 +23,6 @@ import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.apache.logging.log4j.message.SimpleMessage; import org.apache.poi.hssf.record.*; import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.record.aggregates.ChartSubstreamRecordAggregate; @@ -541,12 +540,8 @@ public final class InternalSheet { public void setDimensions(int firstrow, short firstcol, int lastrow, short lastcol) { LOGGER.atDebug().log("Sheet.setDimensions"); - LOGGER.atDebug().log(() -> new SimpleMessage( - "firstrow" + firstrow + - "firstcol" + firstcol + - "lastrow" + lastrow + - "lastcol" + lastcol - )); + LOGGER.atDebug().log("firstrow: {} firstcol: {} lastrow: {} lastcol: {}", + firstrow, firstcol, lastrow, lastcol); _dimensions.setFirstCol(firstcol); _dimensions.setFirstRow(firstrow); _dimensions.setLastCol(lastcol); |