camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [07/10] camel git commit: CAMEL-11235: Used the new override from getMethodInfo(...)
Date Sat, 20 May 2017 13:55:32 GMT
CAMEL-11235: Used the new override from getMethodInfo(...)


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

Branch: refs/heads/camel-2.19.x
Commit: aef52c315e5fcd8a9bb2d538606ac32a1372e2fc
Parents: 04c4de8
Author: aldettinger <aldettinger@gmail.com>
Authored: Sat May 20 13:13:15 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat May 20 15:53:56 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/camel/blob/aef52c31/camel-core/src/main/java/org/apache/camel/component/bean/BeanInfo.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/bean/BeanInfo.java b/camel-core/src/main/java/org/apache/camel/component/bean/BeanInfo.java
index f87e4a4..480fbc7 100644
--- a/camel-core/src/main/java/org/apache/camel/component/bean/BeanInfo.java
+++ b/camel-core/src/main/java/org/apache/camel/component/bean/BeanInfo.java
@@ -434,7 +434,7 @@ public class BeanInfo {
         if (answer == null) {
             // maybe the method overrides, and the method map keeps info of the source override
we can use
             for (Method source : methodMap.keySet()) {
-                if (ObjectHelper.isOverridingMethod(source, method, false)) {
+                if (ObjectHelper.isOverridingMethod(getType(), source, method, false)) {
                     answer = methodMap.get(source);
                     break;
                 }


Mime
View raw message