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=28660>. 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=28660 [Configuration] Lists in a CompositeConfiguration Summary: [Configuration] Lists in a CompositeConfiguration Product: Commons Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Configuration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Not sure whether this is a bug, but at least it's an issue where the documentation differs from the actul behavior: The CompositeConfiguration javadoc states: "If you add Configuration1, and then Configuration2, any properties shared will mean that Configuration1 will be returned.... If Configuration1 doesn't have the property, then Configuration2 will be checked." So this would mean, if a use getList or getStringArray I only get the list elements from conf1 but not those from conf2, if the requested property is contained in both. In reality, however, I get a combined list of the values specified in conf1 + conf2 + any others. I think it would be better to behave according to the documentation and to return only the elements from the first matching configuration + any dynamically added elements from the InMemoryConfiguration. So, is this a bug, and will it be fixed? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]