You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2015/10/08 17:33:26 UTC

[jira] [Updated] (CAMEL-9175) Simple random function - Should trim the min/max values

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

Andrea Cosentino updated CAMEL-9175:
------------------------------------
    Fix Version/s:     (was: Future)
                   2.17.0

> Simple random function - Should trim the min/max values
> -------------------------------------------------------
>
>                 Key: CAMEL-9175
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9175
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 2.17.0, 2.16.1
>
>
> The random function takes one or two numbers as min/max range. But if you specify a space such as random(1, 10) then you get a NFE exception. We should add a trim() in the code so it trims spaces.



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