commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONFIGURATION-529) XML_PROVIDER figures twice in ConfigurationProvider[] array within DefaultConfigurationBuilder
Date Wed, 06 Mar 2013 20:52:13 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Heger resolved CONFIGURATION-529.
----------------------------------------

    Resolution: Invalid

This is actually done by intension: XML provider is registered twice for two different tag
names, {{xml}} and {{hierarchicalXml}}. This is done for maintaining backwards compatibility
with the older {{ConfigurationFactory}} class which originally used the latter tag name.
                
> 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

Mime
View raw message