From commits-return-71240-archive-asf-public=cust-asf.ponee.io@camel.apache.org Mon Apr 8 06:06:24 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1ADEF180627 for ; Mon, 8 Apr 2019 08:06:24 +0200 (CEST) Received: (qmail 21599 invoked by uid 500); 8 Apr 2019 05:46:46 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 21590 invoked by uid 99); 8 Apr 2019 05:46:46 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2019 05:46:46 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 4860580A29; Mon, 8 Apr 2019 06:06:23 +0000 (UTC) Date: Mon, 08 Apr 2019 06:06:23 +0000 To: "commits@camel.apache.org" Subject: [camel] branch master updated: [Minor] Remove unnecessary object creation for log statement MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155470358296.6642.17569256535470553246@gitbox.apache.org> From: gzurowski@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f3f16f805c1c198197b8b9d29e9c693fd1b9f831 X-Git-Newrev: 8ca1970c1c87bbdafaefdc991289445c26b25a5c X-Git-Rev: 8ca1970c1c87bbdafaefdc991289445c26b25a5c X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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;