Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 42866 invoked from network); 6 Nov 2006 05:13:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 05:13:05 -0000 Received: (qmail 67502 invoked by uid 500); 6 Nov 2006 05:13:14 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 67217 invoked by uid 500); 6 Nov 2006 05:13:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 67199 invoked by uid 99); 6 Nov 2006 05:13:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 21:13:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 21:13:00 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 319707142FE for ; Sun, 5 Nov 2006 21:12:40 -0800 (PST) Message-ID: <10796785.1162789960200.JavaMail.jira@brutus> Date: Sun, 5 Nov 2006 21:12:40 -0800 (PST) From: "Niall Pemberton (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Updated: (BEANUTILS-251) PropertyUtils.describe() returns wrong fields names In-Reply-To: <22905269.1161323135035.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/BEANUTILS-251?page=all ] Niall Pemberton updated BEANUTILS-251: -------------------------------------- Component/s: Utils (Bean, Property, Method) > PropertyUtils.describe() returns wrong fields names > --------------------------------------------------- > > Key: BEANUTILS-251 > URL: http://issues.apache.org/jira/browse/BEANUTILS-251 > Project: Commons BeanUtils > Issue Type: Bug > Components: Utils (Bean, Property, Method) > Affects Versions: 1.7.0 > Environment: WinXP SP2 > Reporter: Oleg Timoshenko > Assigned To: Henri Yandell > Fix For: 1.8.0 > > > I have the following bean: > public class SumTestBean2 { > private int iVal; > public int getIVal() { > return iVal; > } > public void setIVal(int val) { > iVal = val; > } > } > ... and the following snippet of code: > SumTestBean2 stb = new SumTestBean2(); > stb.setIVal(12); > Map map = PropertyUtils.describe(stb); > for(Object o : map.keySet()) System.out.println(o); > .. prints out the following: > IVal > class > ==== > Note that instead of "IVal" there should be "iVal" - uppercase letter appears instead of lowercase. > This happens only when field has first letter - in lower case followed by uppercase letter. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org