You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/09/08 13:59:00 UTC

[jira] [Commented] (CONFIGURATION-809) different of result with java.util.property in case of duplicate key.

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

Gary D. Gregory commented on CONFIGURATION-809:
-----------------------------------------------

Hi [~kushalagrawal] 

Thank you for your report.

The best way to move this issue forward is to provide a PR on GitHub. Or at the very least, a PR with a failing unit test.

> different of result with java.util.property in case of duplicate key.
> ---------------------------------------------------------------------
>
>                 Key: CONFIGURATION-809
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-809
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 2.7
>            Reporter: Kushal Agrawal
>            Priority: Major
>
> Considering I have a property file with a duplicate configuration key.
>  
> {code:java}
> # abc.properties
> key1 = value1
> key2 = value2
> key1 = value3{code}
>  
>  with FileBasedConfigurationBuilder it will print the configuration value as *value1.* while with java.util.properties the values will be *value3*.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)