commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject Re: [configuration] sanity checks
Date Wed, 29 Aug 2007 20:11:13 GMT
Hi Michiel,

Michiel Kalkman wrote:
> Hi,
> Is there any code in configuration which performs sanity checks on a
> configuration ? I'm looking for code that checks:
> - whether there are unresolved values (i.e. values with ${...} in them)
> - whether there are multiple keys with the same value
> 
> after loading the configuration.
> 
> I guess I could make these checks myself, but I think more people
> could be interested.
> 
> Thanks,
> Michiel
> 

there is no support for such features so far, but I think this is an 
interesting idea.

What would be the best way of providing such checks: as additional 
methods of the ConfigurationUtils class or as a new dedicated checker class?

Patches would be welcome in this area!

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message