aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-09-19 08:59:08 +0000
committerPJ Fanning <fanningpj@apache.org>2021-09-19 08:59:08 +0000
commit83d837dc39e99058d974d36b3055ee3e0d844d33 (patch)
tree9b9f85fd5ff0cadf01455f229233e01e55e5873d
parenta20035a3b65e2df55685785fedfff7696c8fa981 (diff)
downloadpoi-83d837dc39e99058d974d36b3055ee3e0d844d33.tar.gz
poi-83d837dc39e99058d974d36b3055ee3e0d844d33.zip
use lambdas for logging
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893433 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveFakeEntry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveFakeEntry.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveFakeEntry.java
index acca8d0a09..6c62e5c74d 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveFakeEntry.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveFakeEntry.java
@@ -52,7 +52,7 @@ import org.apache.poi.util.TempFile;
if (threshold >= 0 && entrySize >= threshold) {
tempFile = TempFile.createTempFile("poi-zip-entry", ".tmp");
LOG.atInfo().log("created for temp file {} for zip entry {} of size {} bytes",
- tempFile.getAbsolutePath(), entry.getName(), entrySize);
+ () -> tempFile.getAbsolutePath(), () -> entry.getName(), () -> entrySize);
IOUtils.copy(inp, tempFile);
} else {
if (entrySize < -1 || entrySize >= Integer.MAX_VALUE) {