[ http://issues.apache.org/jira/browse/CONFIGURATION-219?page=all ]

Oliver Heger resolved CONFIGURATION-219.
----------------------------------------

    Fix Version/s: Nightly Builds
       Resolution: Fixed

Fixed now in subversion: A clone() method was added to PropertiesConfiguration, 
which ensures that the layout object gets also copied.

> PropertiesConfiguration.clone() does not properly handle the layout object
> --------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-219
>                 URL: http://issues.apache.org/jira/browse/CONFIGURATION-219
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>            Reporter: Oliver Heger
>         Assigned To: Oliver Heger
>             Fix For: Nightly Builds
>
>
> If a PropertiesConfiguration object is cloned, the clone will have the same 
> PropertiesConfigurationLayout object. Of course this will cause trouble when 
> later both objects are modified and then written to a file.
> PropertiesConfiguration needs a specific clone() implementation, which also 
> clones the layout object.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to