camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/5] camel git commit: Polished
Date Fri, 07 Aug 2015 14:17:27 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x a103b4475 -> 990c6b579
  refs/heads/master 443aa99bd -> 91ff7d0b6


Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8593f26f
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8593f26f
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8593f26f

Branch: refs/heads/master
Commit: 8593f26f4b0259b876fb0c997e7453d69da89caf
Parents: 443aa99
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Aug 7 16:19:57 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Aug 7 16:19:57 2015 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/builder/BuilderSupport.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8593f26f/camel-core/src/main/java/org/apache/camel/builder/BuilderSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/builder/BuilderSupport.java b/camel-core/src/main/java/org/apache/camel/builder/BuilderSupport.java
index 45aed36..f682501 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/BuilderSupport.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/BuilderSupport.java
@@ -47,7 +47,7 @@ public abstract class BuilderSupport {
     }
 
     protected BuilderSupport(CamelContext context) {
-        this.context = context.adapt(ModelCamelContext.class);
+        this.context = context != null ? context.adapt(ModelCamelContext.class) : null;
     }
 
     // Builder methods


Mime
View raw message