Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 41647 invoked from network); 20 Nov 2009 22:18:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 22:18:15 -0000 Received: (qmail 92509 invoked by uid 500); 20 Nov 2009 22:18:15 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 92468 invoked by uid 500); 20 Nov 2009 22:18:15 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 92458 invoked by uid 500); 20 Nov 2009 22:18:15 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 92455 invoked by uid 99); 20 Nov 2009 22:18:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 22:18:15 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 22:18:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B9D57234C495 for ; Fri, 20 Nov 2009 14:17:52 -0800 (PST) Message-ID: <177387510.1258755472754.JavaMail.jira@brutus> Date: Fri, 20 Nov 2009 14:17:52 -0800 (PST) From: "Barry Kaplan (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-2207) RichExchange should be using AnyRef (not Any) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c 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 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.