[
https://issues.apache.org/jira/browse/CAMEL-10095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351028#comment-15351028
]
Claus Ibsen commented on CAMEL-10095:
-------------------------------------
This is by design for allowing to split uri attribute over new lines, where
whitespace must be removed to build the uri as a single lined value.
The pattern {2,} is not in groups of 2,4,6, etc. It is 2 or more.
> bug in "remove whitespace noise from uri"
> -----------------------------------------
>
> Key: CAMEL-10095
> URL: https://issues.apache.org/jira/browse/CAMEL-10095
> Project: Camel
> Issue Type: Bug
> Components: camel-blueprint, camel-spring
> Affects Versions: 2.17.1
> Reporter: Michal NikodÃm
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.16.4, 2.17.3, 2.18.0
>
>
> in:
> {noformat}org.apache.camel.spring.handler.CamelNamespaceHandler.doBeforeParse(Node){noformat}
> on row 107 is:
> {noformat}String changed = value.replaceAll("\\s{2,}", "");{noformat}
> but it removes all the white chars that are in an even number (2,4,6,8 etc)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)