camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-9236) Tokenize with regex grouping has a small bug
Date Mon, 19 Oct 2015 18:44:27 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-9236:
-------------------------------
    Affects Version/s:     (was: 2.17.0)
                           (was: 2.15.3)
                           (was: 2.15.2)
                           (was: 2.15.1)
                           (was: 2.16.0)
                           (was: 2.15.0)
                           (was: Future)
                           (was: 3.0.0)

> Tokenize with regex grouping has a small bug
> --------------------------------------------
>
>                 Key: CAMEL-9236
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9236
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Chad Durovec
>            Priority: Minor
>             Fix For: 2.17.0, 2.16.1, 2.15.5
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Looks like a copy/paste error is preventing the grouping functionality from being executed
by the helper object. 
> group should be passed to the delegate's tokenize method. 
> camel-core/src/main/java/org/apache/camel/builder/ExpressionClause.java 
>     /** 
>      * Evaluates a token expression on the message body 
>      * 
>      * @param token the token 
>      * @param regex whether the token is a regular expression or not 
>      * @param group to group by the given number 
>      * @return the builder to continue processing the DSL 
>      */ 
>     public T tokenize(String token, boolean regex, int group) { 
>         return delegate.tokenize(token, regex); 
>     } 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message