Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 76819 invoked from network); 16 Feb 2010 18:20:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2010 18:20:01 -0000 Received: (qmail 6084 invoked by uid 500); 16 Feb 2010 18:20:01 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 6027 invoked by uid 500); 16 Feb 2010 18:20:00 -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 6015 invoked by uid 99); 16 Feb 2010 18:20:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 18:20:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 18:19:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D56B8238885D; Tue, 16 Feb 2010 18:19:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r910637 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/IntrospectionSupport.java Date: Tue, 16 Feb 2010 18:19:38 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100216181939.D56B8238885D@eris.apache.org> Author: gtully Date: Tue Feb 16 18:19:36 2010 New Revision: 910637 URL: http://svn.apache.org/viewvc?rev=910637&view=rev Log: resolve https://issues.apache.org/activemq/browse/AMQ-2608, fix applied with thanks 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=910637&r1=910636&r2=910637&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 Feb 16 18:19:36 2010 @@ -218,7 +218,7 @@ private static Method findSetterMethod(Class clazz, String name) { // Build the method name. - name = "set" + name.substring(0, 1).toUpperCase() + name.substring(1); + name = "set" + Character.toUpperCase(name.charAt(0)) + name.substring(1); Method[] methods = clazz.getMethods(); for (int i = 0; i < methods.length; i++) { Method method = methods[i];