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

Jan van Oort commented on CONFIGURATION-529:
--------------------------------------------

This is silly. I am going to extend DefaultConfigurationBuilder for my own 
purposes, and discovered this while reading through the source code. Don't know 
yet what I will do - copy/paste existing source code minus the bug into my own 
mod_DCB, or correct the bug in Commons Configuration Build, compile and carry 
on. 
                
> XML_PROVIDER figures twice in ConfigurationProvider[] array within 
> DefaultConfigurationBuilder
> ----------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-529
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-529
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.9
>            Reporter: Jan van Oort
>              Labels: features
>             Fix For: 2.0, 2.x
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Source code excerpt: 
>  /** An array with the providers for the default tags. */
>     private static final ConfigurationProvider[] DEFAULT_PROVIDERS = {
>             PROPERTIES_PROVIDER, XML_PROVIDER, XML_PROVIDER, JNDI_PROVIDER,
>             SYSTEM_PROVIDER, PLIST_PROVIDER, BUILDER_PROVIDER, INI_PROVIDER,
>             ENV_PROVIDER
>     };

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to