Oliver Heger a écrit :
Yes such a constructor should be added. However it may make sense to keep the existing parameters also because we will need something like this when the new configuration is to be integrated into DefaultConfigurationBuilder.
On the other hand we could implement a factory in DefaultConfigurationBuilder that instantiate the Preferences and then creates the PreferencesConfiguration from that instance.
I understand that having all the setters already in PreferencesConfiguration simplifies the instantiation by DefaultConfigurationBuilder, but it also make the class look more complex from the user standpoint. For example, I don't think the class should expose the associatedClass, even the Preferences API doesn't return it once the instance is created.
Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]