commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33814] - [configuration] Loading a configuration twice creates duplicate properties
Date Fri, 04 Mar 2005 15:59:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33814





------- Additional Comments From oliver.heger@t-online.de  2005-03-04 16:59 -------
We could add an abstract append(Reader) method to AbstractFileConfiguration. In
the sub classes we move the code from the load(Reader) method to append(Reader).
AbstractFileConfiguration.load(Reader) can then be implemented by calling
clear() and then delegating to append(Reader). XMLConfiguration needs an extra
work because it does not inherit from AbstractFileConfiguration.

This way we would also gain a new append feature, which might be useful for
easily creating union configurations. WDYT?

Is anybody already working on this? Otherwise I would have a look at it during
the weekend.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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