You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ben O'Day (JIRA)" <ji...@apache.org> on 2011/05/26 02:45:47 UTC
[jira] [Resolved] (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:all-tabpanel ]
Ben O'Day resolved CAMEL-4011.
------------------------------
Resolution: Fixed
patch committed...
> 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