I think maybe it is a laeft over method, or maybe something that was going to be added to support http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/org/ap ache/commons/collections/ExtendedProperties.html this class so it could be removed.. However, since it is only at the AbstractConfiguration level, I think delete it. This seems like a sort of special purpose method that could be better placed in something like a PropertiesConfiguration or PropertiesConfigurationUtil class...
Eric > -----Original Message----- > From: Emmanuel Bourg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 8:06 PM > To: Jakarta Commons Developers List > Subject: [configuration] getProperties ? > > > I noticed the getProperties(String key, Properties defaultValue) method > is only defined in the AbstractConfiguration class, and not in the > Configuration interface. I didn't pay attention to this method before, > but what is the motivation for getProperties anyway? [configuration] is > supposed to provide a higher level replacement for the good old > java.util.Properties, so that seems a bit odd to return a Properties > here, returning a Configuration would be more appropriate. > > Emmanuel Bourg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
