camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: Fixed mistake
Date Wed, 16 Dec 2015 10:54:05 GMT
Repository: camel
Updated Branches:
  refs/heads/master 248903756 -> 14b345130


Fixed mistake


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

Branch: refs/heads/master
Commit: 14b345130be2da061bb1bba244fb3d2c47aec3e3
Parents: fa26b1c
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Dec 16 11:47:12 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Dec 16 11:53:58 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/camel/blob/14b34513/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
index d0adc96..24f0640 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
@@ -2498,7 +2498,7 @@ public class DefaultCamelContext extends ServiceSupport implements ModelCamelCon
         RestConfiguration config = restConfigurations.get(component);
         if (config == null && defaultIfNotExist) {
             config = getRestConfiguration();
-            if (config != null && config.getComponent() != null && !component.equals(component))
{
+            if (config != null && config.getComponent() != null && !config.getComponent().equals(component))
{
                 config = new RestConfiguration();
                 restConfigurations.put(component, config);
             }


Mime
View raw message