commons-dev 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-219) PropertiesConfiguration.clone() does not properly handle the layout object
Date Sat, 12 Aug 2006 15:23:14 GMT
     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message