[ 
http://issues.apache.org/jira/browse/CONFIGURATION-239?page=comments#action_12454749
 ] 
            
Oliver Heger commented on CONFIGURATION-239:
--------------------------------------------

You are right, setting the delimiterParsingDisabled-flag has only effect 
*before* the configuration file is loaded. I just had a look in the JavaDoc for 
the 1.3 release and here for the setDelimiterParsingDisabled() method it is 
stated:

"Set whether this configuration should use delimiters when parsing property 
values to convert them to lists of values. By default delimiter parsing is 
enabled Note: this change will only be effective for new parsings. If you want 
it to take effect for all loaded properties use the no arg constructor and call 
this method before setting source."

I think, this is quite clear, so I tend to close this ticket. What do you mean?

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to