camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/8] camel git commit: Polished
Date Tue, 22 Sep 2015 08:27:55 GMT
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 <davsclaus@apache.org>
Authored: Tue Sep 22 09:47:39 2015 +0200
Committer: Claus Ibsen <davsclaus@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() {


Mime
View raw message