Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2
-
None
-
None
-
Operating System: All
Platform: All
-
38285
Description
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,