commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <>
Subject RE: [configuration] getProperties ?
Date Wed, 16 Jun 2004 20:53:08 GMT
I think maybe it is a laeft over method, or maybe something that was going
to be added to support
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...


> -----Original Message-----
> From: Emmanuel Bourg []
> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message