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/12/21 08:51:04 UTC
[3/5] camel git commit: Fixed CS
Fixed CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9e010df0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9e010df0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9e010df0
Branch: refs/heads/master
Commit: 9e010df0fb7a5be9f41c8d1440dbeac4a0c65c6b
Parents: 36c2d70
Author: Claus Ibsen <da...@apache.org>
Authored: Sat Dec 20 14:36:00 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat Dec 20 14:36:00 2014 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/camel/component/bean/MethodInfo.java | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/9e010df0/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java b/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
index aaf3cf0..61f0882 100644
--- a/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
+++ b/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
@@ -478,20 +478,17 @@ public class MethodInfo {
// evaluate the parameter value binding
value = evaluateParameterValue(exchange, i, parameterValue, parameterType);
}
-
// use bean parameter binding, if still no value
Expression expression = expressions[i];
if (value == null && expression != null) {
value = evaluateParameterBinding(exchange, expression, i, parameterType);
}
}
-
// remember the value to use
if (value != Void.TYPE) {
answer[i] = value;
}
}
-
return (T) answer;
}