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: Camel catalog - Validate incapable parsing errors
Date Thu, 07 Jan 2016 20:31:14 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x f8cbb2893 -> 84774949b
  refs/heads/master c45bf0a02 -> 256577179


Camel catalog - Validate incapable parsing errors


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

Branch: refs/heads/master
Commit: 2565771792e6950fc41373f9fc434fad87a90de7
Parents: c45bf0a
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Jan 7 21:29:34 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Jan 7 21:29:34 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/catalog/DefaultCamelCatalog.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/25657717/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
----------------------------------------------------------------------
diff --git a/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
b/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
index 1e97a1f..14a4d50 100644
--- a/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
+++ b/platforms/catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
@@ -756,6 +756,8 @@ public class DefaultCamelCatalog implements CamelCatalog {
                     result.addIncapable(uri);
                 } else if (scheme != null) {
                     result.addUnknownComponent(scheme);
+                } else {
+                    result.addUnknownComponent(uri);
                 }
                 return result;
             }


Mime
View raw message