Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1B44174E3 for ; Tue, 22 Sep 2015 08:27:57 +0000 (UTC) Received: (qmail 71724 invoked by uid 500); 22 Sep 2015 08:27:52 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 71643 invoked by uid 500); 22 Sep 2015 08:27:52 -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 71442 invoked by uid 99); 22 Sep 2015 08:27:52 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2015 08:27:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8F4E1E00B2; Tue, 22 Sep 2015 08:27:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Tue, 22 Sep 2015 08:27:55 -0000 Message-Id: In-Reply-To: <0c03ef09b1b045cf9c93a0b42c8bd72e@git.apache.org> References: <0c03ef09b1b045cf9c93a0b42c8bd72e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [4/8] camel git commit: Polished Polished Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/20ec49a6 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/20ec49a6 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/20ec49a6 Branch: refs/heads/master Commit: 20ec49a628a5e1ef0eeef241113b8404afed29fd Parents: c909f16 Author: Claus Ibsen Authored: Tue Sep 22 09:47:39 2015 +0200 Committer: Claus Ibsen Committed: Tue Sep 22 09:47:39 2015 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/camel/impl/DefaultExchange.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/20ec49a6/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java index 05ffd76..58aa50b 100644 --- a/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java +++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultExchange.java @@ -80,7 +80,7 @@ public final class DefaultExchange implements Exchange { @Override public String toString() { - return String.format("Exchange[%s][%s]", exchangeId, out == null ? in : out); + return String.format("Exchange[%s][%s]", exchangeId == null ? "" : exchangeId, out == null ? in : out); } public Exchange copy() {