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 2014/08/26 09:58:59 UTC
[3/5] 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/254d60f3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/254d60f3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/254d60f3
Branch: refs/heads/master
Commit: 254d60f33ad462eb9ca04cdcf8c4e2d1747d7d0f
Parents: 2f8bc80
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Aug 26 08:45:49 2014 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Aug 26 09:56:45 2014 +0200
----------------------------------------------------------------------
.../org/apache/camel/blueprint/BlueprintPropertiesParser.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/254d60f3/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
----------------------------------------------------------------------
diff --git a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
index d1bbde6..9c5a3f0 100644
--- a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
+++ b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintPropertiesParser.java
@@ -155,12 +155,12 @@ public class BlueprintPropertiesParser extends DefaultPropertiesParser {
String delegateAnswer = delegate.parseProperty(key, answer != null ? answer : value, properties);
if (delegateAnswer != null) {
answer = delegateAnswer;
- log.debug("delegate property parser parsed the property key:{} as value: {}", key, answer);
+ log.debug("Delegate property parser parsed the property key: {} as value: {}", key, answer);
}
}
if (answer == null) {
- throw new IllegalArgumentException("Cannot parser the property key: " + key + " with value: " + value);
+ throw new IllegalArgumentException("Property placeholder key: " + key + " not found");
}
log.trace("Returning parsed property key: {} as value: {}", key, answer);