[
https://issues.apache.org/jira/browse/CAMEL-11044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947937#comment-15947937
]
ASF GitHub Bot commented on CAMEL-11044:
----------------------------------------
GitHub user onders86 opened a pull request:
https://github.com/apache/camel/pull/1583
CAMEL-11044-create list with a single element instead of creating lis…
create list with a single element instead of creating list with asList
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/onders86/camel CAMEL-11044
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1583.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1583
----
commit b102911d70e0625da44a03d89dd319f8e32c710d
Author: onders86 <[email protected]>
Date: 2017-03-29T20:53:27Z
CAMEL-11044-create list with a single element instead of creating list with
asList
----
> CLONE - EndpointHelper.resolveReferenceListParameter should not return
> immutable lists
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-11044
> URL: https://issues.apache.org/jira/browse/CAMEL-11044
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.17.3
> Reporter: Chandra Bose Renganathan
> Assignee: onder sezgin
> Priority: Minor
> Fix For: 2.19.0
>
>
> EndpointHelper.resolveReferenceListParameter still sometimes return immutable
> lists.
> Following is an example URL:
> jetty:http://0.0.0.0:8080/entitlements/v1?matchOnUriPrefix=true&enableCORS=true&filtersRef=myFilter
> Since it already has filter, when the component adds crossOriginFilter, it
> fails with UnsupportedOperationException.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)