camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben O'Day (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-4011) type converters should return NULL for Double.NaN values instead of 0
Date Tue, 24 May 2011 21:50:48 GMT

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

Ben O'Day updated CAMEL-4011:
-----------------------------

    Attachment:     (was: CAMEL-4011.patch)

> 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

Mime
View raw message