You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Babak Vahdat (JIRA)" <ji...@apache.org> on 2011/05/26 13:55:47 UTC

[jira] [Commented] (CAMEL-4011) type converters should return NULL for Double.NaN values instead of 0

    [ https://issues.apache.org/jira/browse/CAMEL-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039659#comment-13039659 ] 

Babak Vahdat commented on CAMEL-4011:
-------------------------------------

see my comments on the revision 1127744 here:

http://camel.465427.n5.nabble.com/XPath-for-an-Integer-td4422095.html



> type converters should return NULL for Double.NaN values instead of 0
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-4011
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4011
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Ben O'Day
>            Assignee: Ben O'Day
>            Priority: Trivial
>              Labels: converter, types
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4011.patch
>
>
> see this discussion...http://camel.465427.n5.nabble.com/XPath-for-an-Integer-td4422095.html
> Update the ObjectConverter.toXXX() methods to check for Double.NaN and return NULL instead of relying on Number.intValue()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira