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 2019/12/11 07:44:27 UTC

[camel] 03/03: CAMEL-14288: Endpoint configurer should deal better with list types

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 75c9b251e3f545925e14085bd7c6f257c718b3cf
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Dec 11 08:22:07 2019 +0100

    CAMEL-14288: Endpoint configurer should deal better with list types
---
 .../org/apache/camel/support/component/PropertyConfigurerSupport.java  | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/camel-support/src/main/java/org/apache/camel/support/component/PropertyConfigurerSupport.java b/core/camel-support/src/main/java/org/apache/camel/support/component/PropertyConfigurerSupport.java
index 349ea15..9b8612c 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/component/PropertyConfigurerSupport.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/component/PropertyConfigurerSupport.java
@@ -56,9 +56,6 @@ public abstract class PropertyConfigurerSupport {
                     // no bean found so throw an exception
                     throw new NoSuchBeanException(text, type.getName());
                 }
-            } else if (type == List.class) {
-                // its a list but we have a string, where we support splitting via comma
-                obj = Arrays.asList(text.split(","));
             }
             if (obj != null) {
                 value = obj;