camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject [camel] branch master updated: [Minor] Remove unnecessary object creation for log statement
Date Mon, 08 Apr 2019 06:06:23 GMT
This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ca1970  [Minor] Remove unnecessary object creation for log statement
8ca1970 is described below

commit 8ca1970c1c87bbdafaefdc991289445c26b25a5c
Author: Gregor Zurowski <gregor@zurowski.org>
AuthorDate: Mon Apr 8 08:05:07 2019 +0200

    [Minor] Remove unnecessary object creation for log statement
---
 core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java b/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java
index 83c42d9..0f883e8 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/IOHelper.java
@@ -196,7 +196,7 @@ public final class IOHelper {
         }
 
         if (LOG.isTraceEnabled()) {
-            LOG.trace("Copying InputStream: {} -> OutputStream: {} with buffer: {} and
flush on each write {}", new Object[] {input, output, bufferSize, flushOnEachWrite});
+            LOG.trace("Copying InputStream: {} -> OutputStream: {} with buffer: {} and
flush on each write {}", input, output, bufferSize, flushOnEachWrite);
         }
 
         int total = 0;


Mime
View raw message