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

Reply via email to