You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by on...@apache.org on 2020/05/18 20:27:26 UTC
[camel] 14/15: Removed unusued code
This is an automated email from the ASF dual-hosted git repository.
onders pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c5c863b0be17a04c48c313e8ea0e1ab2896fc6f2
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 18 19:49:35 2020 +0200
Removed unusued code
---
.../src/main/java/org/apache/camel/language/bean/BeanExpression.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanExpression.java b/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanExpression.java
index 8bc87cf..e404d8d 100644
--- a/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanExpression.java
+++ b/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanExpression.java
@@ -279,10 +279,6 @@ public class BeanExpression implements Expression, Predicate, AfterPropertiesCon
if (bean != null) {
holder = new ConstantBeanHolder(bean, context);
} else if (beanName != null) {
- // it may refer to a type such as when used with bean language
- if (context.getRegistry().lookupByName(beanName) == null) {
- // TODO: ?????
- }
holder = new RegistryBean(context, beanName);
} else if (type != null) {
holder = new ConstantTypeBeanHolder(type, context);