You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2019/04/08 06:06:23 UTC

[camel] branch master updated: [Minor] Remove unnecessary object creation for log statement

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 <gr...@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;