Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5FCE0200C7B for ; Sat, 20 May 2017 15:55:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5E79F160BAD; Sat, 20 May 2017 13:55:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 871B8160BD8 for ; Sat, 20 May 2017 15:55:27 +0200 (CEST) Received: (qmail 59899 invoked by uid 500); 20 May 2017 13:55:26 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 59565 invoked by uid 99); 20 May 2017 13:55:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2017 13:55:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4A3E5E78B0; Sat, 20 May 2017 13:55:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Sat, 20 May 2017 13:55:32 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [07/10] camel git commit: CAMEL-11235: Used the new override from getMethodInfo(...) archived-at: Sat, 20 May 2017 13:55:28 -0000 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 Authored: Sat May 20 13:13:15 2017 +0200 Committer: Claus Ibsen 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; }