commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Maurin (JIRA)" <>
Subject [jira] [Created] (CONFIGURATION-653) ConfigurationUtils.dump and other methods should use ImmutableConfiguration
Date Thu, 02 Mar 2017 11:00:48 GMT
Vincent Maurin created CONFIGURATION-653:

             Summary: ConfigurationUtils.dump and other methods should use ImmutableConfiguration
                 Key: CONFIGURATION-653
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 2.1.1, 2.1
            Reporter: Vincent Maurin
            Priority: Minor

Since the read-only ImmutableConfiguration/ImmutableHierarchicalConfiguration has been introduced,
several methods that uses Configuration in a read-only fashion should be adapted to use these
ones instead of the read/write alternative.

For example :
ConfigurationUtils.copy (for the source)
ConfigurationUtils.append (for the source)
... and maybe others

It should not break any existing code as Configuration implements ImmutableConfiguration and
it could enable code that manipulates read only configurations to use these utilities

This message was sent by Atlassian JIRA

View raw message