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

Barry Kaplan commented on CAMEL-2207:
-------------------------------------

This patch is bogus. I broke lots of tests. (I thought the tests passed but 
they did not run.)

> RichExchange should be using AnyRef (not Any)
> ---------------------------------------------
>
>                 Key: CAMEL-2207
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2207
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-scala
>    Affects Versions: 2.0.0
>            Reporter: Barry Kaplan
>         Attachments: Improve_types_in_RichExchanges2.patch
>
>
> RichExchange declares most of its methods using Any. But the underlying java 
> methods declare the corresponding arguments with Object. 
> For most use cases this won't matter, but statements like the following do 
> not compile:
>    if (m.erasure.isAssignableFrom(exchange.in.getClass)) { ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to