From commits-return-7271-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Tue Oct 23 19:12:04 2007 Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 34536 invoked from network); 23 Oct 2007 19:12:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 19:12:04 -0000 Received: (qmail 70083 invoked by uid 500); 23 Oct 2007 19:11:52 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 70030 invoked by uid 500); 23 Oct 2007 19:11:52 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 70021 invoked by uid 99); 23 Oct 2007 19:11:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 12:11:52 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 19:12:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 031791A9832; Tue, 23 Oct 2007 12:11:44 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r587618 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java Date: Tue, 23 Oct 2007 19:11:43 -0000 To: commits@activemq.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071023191144.031791A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: chirino Date: Tue Oct 23 12:11:34 2007 New Revision: 587618 URL: http://svn.apache.org/viewvc?rev=587618&view=rev Log: allow any setter to be called Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java?rev=587618&r1=587617&r2=587618&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java (original) +++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java Tue Oct 23 12:11:34 2007 @@ -203,7 +203,7 @@ for (int i = 0; i < methods.length; i++) { Method method = methods[i]; Class params[] = method.getParameterTypes(); - if (method.getName().equals(name) && params.length == 1 && isSettableType(params[0])) { + if (method.getName().equals(name) && params.length == 1 ) { return method; } }