[
https://issues.apache.org/jira/browse/CONFIGURATION-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kushal Agrawal updated CONFIGURATION-809:
-----------------------------------------
Description:
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*.
was:
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*.
> 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.3.4#803005)