Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 87632 invoked from network); 12 Sep 2006 20:09:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 20:09:59 -0000 Received: (qmail 33713 invoked by uid 500); 12 Sep 2006 20:09:57 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 33573 invoked by uid 500); 12 Sep 2006 20:09:56 -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 33562 invoked by uid 99); 12 Sep 2006 20:09:56 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 13:09:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:38503] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id D2/14-04378-22417054 for ; Tue, 12 Sep 2006 13:10:10 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F02B841001E for ; Tue, 12 Sep 2006 20:06:31 +0000 (GMT) Message-ID: <8262276.1158091591979.JavaMail.jira@brutus> Date: Tue, 12 Sep 2006 13:06:31 -0700 (PDT) From: "Oliver Heger (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (CONFIGURATION-226) Describe more accurate about the getBoolean() method In-Reply-To: <23896763.1157970562594.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/CONFIGURATION-226?page=comments#action_12434254 ] Oliver Heger commented on CONFIGURATION-226: -------------------------------------------- The JavaDoc of the getBoolean() methods was updated to point to PropertyConfiguration.toBoolean() where the real conversion happens. Here the documentation now refers to the BooleanUtils class from Commons Lang, which performs the boolean conversion for us. I hope this makes usage of these methods clearer. Because Commons Lang already has a class for transforming string values to boolean, I don't want to add another implementation to Configuration. So if you need more string constants that should evaluate to true, I would suggest talking to the Lang team. > Describe more accurate about the getBoolean() method > ---------------------------------------------------- > > Key: CONFIGURATION-226 > URL: http://issues.apache.org/jira/browse/CONFIGURATION-226 > Project: Commons Configuration > Issue Type: Improvement > Affects Versions: 1.2 Final > Reporter: Thomas Wabner > Priority: Minor > > In the javadoc there is only described, that a boolean value is try to load in the Configuration#getBoolean() methods. But do you mean the Java Boolean values which are only working for strings like "true" and "false" or do you have a more lazy implementation like for string in the combination "true", "false", "t", "f", "y", "n" and so on? The javadoc should speak more about this. > Is it possible to add the mory lazy boolean loading stuff? -- 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