Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-219

PropertiesConfiguration.clone() does not properly handle the layout object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.3
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            oheger Oliver Heger
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: