[ 
https://issues.apache.org/jira/browse/CONFIGURATION-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16474440#comment-16474440
 ] 

Nicholas Verbeck commented on CONFIGURATION-701:
------------------------------------------------

Here is a patch for the change. With a few unit test to verify override of 
properties is as expected as well as the general addFirst/remove match the 
expected functionality of add/remove.

 

[^CONFIGURATION-701.patch]

> Add support to CompositeConfiguration to allow Configurations to be prepend 
> to the LinkedList
> ---------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-701
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-701
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Nicholas Verbeck
>            Priority: Minor
>         Attachments: CONFIGURATION-701.patch
>
>
> Create methods like addFirstConfiguration with similar signatures as 
> addConfiguration but instead of appending them to the LinkedList add them to 
> the start of the list. This would allow for support of inserting new override 
> configs post initial construction without needing to rebuild a new 
> CompositeConfiguration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to