You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/09/22 10:27:55 UTC
[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 <da...@apache.org>
Authored: Tue Sep 22 09:47:39 2015 +0200
Committer: Claus Ibsen <da...@apache.org>
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() {