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/24 19:41:47 UTC

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

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
             Fix For: 2.8.0


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

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

Posted by "Ben O'Day (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: 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, 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

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

Posted by "Ben O'Day (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: CAMEL-4011.patch

patch for review...

> 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

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

Posted by "Ben O'Day (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Ben O'Day (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039770#comment-13039770 ] 

Ben O'Day commented on CAMEL-4011:
----------------------------------

thanks, just added the check for Float.NaN as well

> 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

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

Posted by "Ben O'Day (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CAMEL-4011:
-------------------------------

    Fix Version/s: 2.7.3

> 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.7.3, 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