You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/07/22 12:39:21 UTC

DO NOT REPLY [Bug 35828] New: - [configuration] Instance specific list delimiter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35828>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35828

           Summary: [configuration] Instance specific list delimiter
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: ebourg@apache.org
OtherBugsDependingO 35804
             nThis:


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()

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org