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-608) Method configure in ReloadingFileBasedConfigurationBuilder should return ReloadingFileBasedConfigurationBuilder
Date Tue, 01 Sep 2015 14:25:46 GMT

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

Oliver Heger resolved CONFIGURATION-608.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0

Fixed in subversion in revision 1700568.

> Method configure in ReloadingFileBasedConfigurationBuilder should return ReloadingFileBasedConfigurationBuilder
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-608
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-608
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: Dzmitry Shylovich
>            Priority: Minor
>             Fix For: 2.0
>
>
> I think configure method of ReloadingFileBasedConfigurationBuilder  should return ReloadingFileBasedConfigurationBuilder
instead of FileBasedConfigurationBuilder otherwise I have to explicitly cast 
> ReloadingFileBasedConfigurationBuilder a = (ReloadingFileBasedConfigurationBuilder<XMLConfiguration>)
>                 new ReloadingFileBasedConfigurationBuilder<>(XMLConfiguration.class).configure(params.xml().setFile(fileToDefaults));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message