This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 742319d Polished 742319d is described below commit 742319d57565fc585b971870fce851d2b45542b9 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun Jul 19 10:08:57 2020 +0200 Polished --- .../src/main/java/org/apache/camel/component/bean/BeanInfo.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java index 0491065..0fc1799 100644 --- a/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java +++ b/components/camel-bean/src/main/java/org/apache/camel/component/bean/BeanInfo.java @@ -417,10 +417,6 @@ public class BeanInfo { boolean hasCustomAnnotation = false; boolean hasHandlerAnnotation = org.apache.camel.util.ObjectHelper.hasAnnotation(method.getAnnotations(), Handler.class); - if (!hasHandlerAnnotation) { - - } - int size = parameterTypes.length; if (LOG.isTraceEnabled()) { LOG.trace("Creating MethodInfo for class: {} method: {} having {} parameters", clazz, method, size);