You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2007/01/09 22:37:28 UTC

[jira] Resolved: (CONFIGURATION-155) [configuration] Instance specific list delimiter

     [ https://issues.apache.org/jira/browse/CONFIGURATION-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-155.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: Nightly Builds

SubsetConfiguration and CompositeConfiguration have been updated to fully support an instance specific list delimiter. So this issue can be closed.

> [configuration] Instance specific list delimiter
> ------------------------------------------------
>
>                 Key: CONFIGURATION-155
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-155
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>             Fix For: Nightly Builds
>
>         Attachments: bug-35828-r2.patch, bug-35828.patch
>
>
> The delimiter used to split the properties is declared as a static field in
> AbstractConfiguration. That means we cannot have two instances of the same
> concrete implementation of AbstractConfiguration using a different delimiter.
> To adress this issue I suggest the following changes:
> - rename the private DELIMITER field into DEFAULT_LIST_DELIMITER
> - add the static methods setDefaultListDelimiter and getDefaultListDelimiter
> - deprecate get/setDelimiter in AbstractConfiguration in favor of
> get/setDefaultListDelimiter
> - add a non static field listDelimiter initialized with DEFAULT_LIST_DELIMITER
> - add the getListDelimiter and setListDelimiter methods to access the
> listDelimiter field
> - call getListDelimiter() instead of getDelimiter()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://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