Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 30794 invoked from network); 30 Nov 2006 19:57:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 19:57:46 -0000 Received: (qmail 55959 invoked by uid 500); 30 Nov 2006 19:57:53 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 55866 invoked by uid 500); 30 Nov 2006 19:57:53 -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 55855 invoked by uid 99); 30 Nov 2006 19:57:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 11:57:53 -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; Thu, 30 Nov 2006 11:57:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B23FE7142CD for ; Thu, 30 Nov 2006 11:57:22 -0800 (PST) Message-ID: <2033652.1164916642727.JavaMail.jira@brutus> Date: Thu, 30 Nov 2006 11:57:22 -0800 (PST) From: "Narciso Oliveira Junior (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (CONFIGURATION-239) setDelimiterParsingDisabled doesn't work for 'new PropertiesConfiguration(filePath)' In-Reply-To: <14926829.1164738561057.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/CONFIGURATION-239?page=comments#action_12454742 ] Narciso Oliveira Junior commented on CONFIGURATION-239: ------------------------------------------------------- Hi! Actually what I think needs to be done is to make the method setDelimiterParsingDisabled has the same behavior if you create an object using the PropertiesConfiguration(filePath) constructor as it does for the constructor PropertiesConfiguration(). What do you think?? I don't know about the code, but I think when it loads the properties file, the code already loads the properties once an then if you use the method setDelimiterParsingDisabled after that , it doesn't affect anything....understand?? So if it is true It would be good to have a warning in java doc for this situation. Thanks! Narciso > setDelimiterParsingDisabled doesn't work for 'new PropertiesConfiguration(filePath)' > ------------------------------------------------------------------------------------ > > Key: CONFIGURATION-239 > URL: http://issues.apache.org/jira/browse/CONFIGURATION-239 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: 1.3 Final > Environment: Win XP SP2, IBM Java 1.4.2.x > Reporter: Narciso Oliveira Junior > > Hi! > just would like to report an issue I found with a new (and very helpful) improvement on version 1.3 of commons configuration, the issue is that setDelimiterParsingDisabled method doesn't work if first creates PropertiesConfiguration object using PropertiesConfiguration(filePath) constructor. I needed to create the PropertiesConfiguration object using PropertiesConfiguration(), use setDelimiterParsingDisabled(true) and then load the configration file using load(filePath) method. > Please let me know if you need more details. > thanks for all your work on this fabulous library...commons rocks! > Narciso -- 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