commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38285] New: - [configuration] Add an option to save multiple values in one line
Date Mon, 16 Jan 2006 04:34:11 GMT
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=38285>.
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=38285

           Summary: [configuration] Add an option to save multiple values in
                    one line
           Product: Commons
           Version: 1.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: kenjin@clazzsoft.com


I'd like to save a property to a file with List type value in one line.
By default, the output looks like this.
key = value1
key = value2

I want to make the output like this.
key = value1, value2

Changing delimiter to '0' before calling save achieves the format, but retrieval of the value,
say by 
calling getList(), results in returning a value "value1, value2" instead of values "value1"
and "value2", 
even if the original delimiter ',' is set back. 

In addition to that, the delimiter is defined as static and changing the value affects all
threads, which is 
not typically desirable. 

It would be nice to have an option to save multiple values in a single line, with thread safe
manner. 

Thanks,

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


Mime
View raw message