[
https://issues.apache.org/jira/browse/CONFIGURATION-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16496695#comment-16496695
]
Oliver Heger commented on CONFIGURATION-704:
--------------------------------------------
Not sure whether I fully understand this request. When should this new feature
be used: when writing a configuration file or when querying a property? Can you
give some example (pseudo) code how you would like to use it?
> an option to override property key instead of creation of lists
> ---------------------------------------------------------------
>
> Key: CONFIGURATION-704
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-704
> Project: Commons Configuration
> Issue Type: New Feature
> Affects Versions: 2.2
> Reporter: Dan Alon
> Priority: Major
>
> Hi,
>
> I want an option when loading a properties file from the include
> functionality (or in the same file) to disable the list feature that when
> entering the same key it creates a list instead of override the old value.
> for example when entering these properties:
> colors.pie = #FF0000
> colors.pie = #00FF00
> colors.pie = #0000FF
> instead of creating a string with seperator like this colors.pie
> =#FF0000,#00FF00,#0000FF
>
> i want only the last value colors.pie = #0000FF
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)